summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-17 14:54:17 +0000
committerSam James <sam@gentoo.org>2023-11-17 15:07:23 +0000
commit031e513506d3d9b474f8a5df01994578f531f1eb (patch)
treeeca4d0e42862a4b9e2d8bb308b068b85e07e7dc1 /net-proxy/squid/files
parentnet-proxy/squid: add 6.4 (diff)
downloadgentoo-031e513506d3d9b474f8a5df01994578f531f1eb.tar.gz
gentoo-031e513506d3d9b474f8a5df01994578f531f1eb.tar.bz2
gentoo-031e513506d3d9b474f8a5df01994578f531f1eb.zip
net-proxy/squid: fix build for GCC 14 (partially); use config cache for libltdl
* Fix build for GCC 14 (missing <algorithm> include for std::find, not upstreamed it yet). There's another issue I still need to look at to do with class visibility. * Use config cache for libltdl which avoids some redundant configure checks. Closes: https://bugs.gentoo.org/917161 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-proxy/squid/files')
-rw-r--r--net-proxy/squid/files/squid-6.4-gcc14-algorithm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-proxy/squid/files/squid-6.4-gcc14-algorithm.patch b/net-proxy/squid/files/squid-6.4-gcc14-algorithm.patch
new file mode 100644
index 000000000000..3a509e029eb5
--- /dev/null
+++ b/net-proxy/squid/files/squid-6.4-gcc14-algorithm.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/917161
+--- a/src/helper/Reply.cc
++++ b/src/helper/Reply.cc
+@@ -17,6 +17,8 @@
+ #include "rfc1738.h"
+ #include "SquidString.h"
+
++#include <algorithm>
++
+ Helper::Reply::Reply() :
+ result(Helper::Unknown)
+ {