diff options
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/squid/files/squid-6.4-gcc14-algorithm.patch | 12 | ||||
-rw-r--r-- | net-proxy/squid/squid-6.4.ebuild | 3 |
2 files changed, 15 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) + { diff --git a/net-proxy/squid/squid-6.4.ebuild b/net-proxy/squid/squid-6.4.ebuild index 9b116ab8ff58..0ecdce7be628 100644 --- a/net-proxy/squid/squid-6.4.ebuild +++ b/net-proxy/squid/squid-6.4.ebuild @@ -77,6 +77,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-6.2-gentoo.patch "${FILESDIR}"/${PN}-4.17-use-system-libltdl.patch + "${FILESDIR}"/${PN}-6.4-gcc14-algorithm.patch ) pkg_pretend() { @@ -124,6 +125,8 @@ src_prepare() { src_configure() { local myeconfargs=( + --cache-file="${S}"/config.cache + --datadir=/usr/share/squid --libexecdir=/usr/libexec/squid --localstatedir=/var |