commit:     8b9d48e9a7d17a11d1099a683bf841adfa05eb43
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 12:36:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 12:36:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9d48e9

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 <sam <AT> gentoo.org>

 net-libs/libnids/{libnids-1.26-r1.ebuild => libnids-1.26-r2.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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 5939d88fed6a..cfd3c1d367d3 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 \

Reply via email to