commit:     1b2115a59b512c5d64fbc772abc23d9610b4ba23
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 05:46:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 05:46:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2115a5

dev-perl/Net-Patricia: build w/ -std=gnu17

Closes: https://bugs.gentoo.org/944140
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/Net-Patricia/Net-Patricia-1.220.0-r2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Net-Patricia/Net-Patricia-1.220.0-r2.ebuild 
b/dev-perl/Net-Patricia/Net-Patricia-1.220.0-r2.ebuild
index 86661ebe13b5..2962f13db98a 100644
--- a/dev-perl/Net-Patricia/Net-Patricia-1.220.0-r2.ebuild
+++ b/dev-perl/Net-Patricia/Net-Patricia-1.220.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,5 +24,6 @@ BDEPEND="${RDEPEND}"
 PATCHES=("${FILESDIR}/${PN}-1.22-no-lnsl.patch")
 
 src_compile() {
-       emake AR="$(tc-getAR)" OTHERLDFLAGS="${LDFLAGS}"
+       # bug #944140 for gnu17
+       emake AR="$(tc-getAR)" CC="$(tc-getCC) -std=gnu17" 
OTHERLDFLAGS="${LDFLAGS}"
 }

Reply via email to