From c9083ec9e0bc6508dad28ae211d8e3647a1f08e5 Mon Sep 17 00:00:00 2001 From: "Sam James (sam_c)" Date: Fri, 8 May 2020 03:00:53 +0000 Subject: [PATCH] net-proxy/squid: Fix 32-bit build Links against libatomic on 32-bit non-x86 arches. Bug: https://bugs.gentoo.org/719662 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) Closes: https://github.com/gentoo/gentoo/pull/15705 Signed-off-by: Mikle Kolyada --- net-proxy/squid/squid-4.11.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-proxy/squid/squid-4.11.ebuild b/net-proxy/squid/squid-4.11.ebuild index b0fc4013b7d9..978bb9b39222 100644 --- a/net-proxy/squid/squid-4.11.ebuild +++ b/net-proxy/squid/squid-4.11.ebuild @@ -5,7 +5,7 @@ EAPI=7 WANT_AUTOMAKE="1.15" -inherit autotools linux-info pam toolchain-funcs +inherit autotools flag-o-matic linux-info pam toolchain-funcs DESCRIPTION="A full-featured web proxy cache" HOMEPAGE="http://www.squid-cache.org/" @@ -173,6 +173,9 @@ src_configure() { # https://bugs.squid-cache.org/show_bug.cgi?id=4224 tc-is-cross-compiler && export squid_cv_gnu_atomics=no + # Bug #719662 + (use ppc || use arm || use hppa) && append-libs -latomic + econf \ --sysconfdir=/etc/squid \ --libexecdir=/usr/libexec/squid \ -- 2.26.2