From 8b9d48e9a7d17a11d1099a683bf841adfa05eb43 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 16 Feb 2025 12:36:07 +0000 Subject: [PATCH] net-libs/libnids: build w/ -std=gnu17, filter LTO * Build w/ -std=gnu17. * Filter LTO as upstream seems inactive; the SONAME bug hasn't been addressed yet either. Not worth spending time on at the moment. Closes: https://bugs.gentoo.org/946622 Signed-off-by: Sam James --- .../{libnids-1.26-r1.ebuild => libnids-1.26-r2.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename net-libs/libnids/{libnids-1.26-r1.ebuild => libnids-1.26-r2.ebuild} (93%) diff --git a/net-libs/libnids/libnids-1.26-r1.ebuild b/net-libs/libnids/libnids-1.26-r2.ebuild similarity index 93% rename from net-libs/libnids/libnids-1.26-r1.ebuild rename to net-libs/libnids/libnids-1.26-r2.ebuild index 5939d88fed6a5..cfd3c1d367d38 100644 --- a/net-libs/libnids/libnids-1.26-r1.ebuild +++ b/net-libs/libnids/libnids-1.26-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -38,7 +38,10 @@ src_prepare() { src_configure() { tc-export AR + # bug #946622 + append-flags -std=gnu17 append-flags -fno-strict-aliasing + filter-lto econf \ --enable-shared \