summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-10-28 18:06:54 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-10-28 18:07:47 +0200
commit8ae193c0705d6114f392e6757975731c828d0d18 (patch)
tree8d1c2f89d00e11b314185ba588c7b8dca876e6f0 /dev-libs
parentdev-python/pyxdg: add python3_12 (diff)
downloadgentoo-8ae193c0705d6114f392e6757975731c828d0d18.tar.gz
gentoo-8ae193c0705d6114f392e6757975731c828d0d18.tar.bz2
gentoo-8ae193c0705d6114f392e6757975731c828d0d18.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libbsd/libbsd-0.11.7-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
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