commit:     8ae193c0705d6114f392e6757975731c828d0d18
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 16:06:54 2023 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 16:07:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae193c0

dev-libs/libbsd: Filter -fno-semantic-interposition, bug 911726

Upstream seems not to be interested in fixing this.

Closes: https://bugs.gentoo.org/911726
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-libs/libbsd/libbsd-0.11.7-r2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild 
b/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild
index 3e851dc40c90..0b90fb1485b8 100644
--- a/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild
+++ b/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/guillemjover.asc
-inherit autotools multilib multilib-minimal verify-sig
+inherit autotools multilib multilib-minimal verify-sig flag-o-matic
 
 DESCRIPTION="Library to provide useful functions commonly found on BSD systems"
 HOMEPAGE="https://libbsd.freedesktop.org/wiki/ 
https://gitlab.freedesktop.org/libbsd/libbsd";
@@ -35,6 +35,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       # bug 911726, https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/26
+       filter-flags -fno-semantic-interposition
+
        # The build system will install libbsd-ctor.a despite USE="-static-libs"
        # which is correct, see:
        # 
https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8

Reply via email to