dev-libs/libbsd: Sync with Gentoo

It's from Gentoo commit a66e9174d502778cb4f26d46f80a474b2b869ec7.
This commit is contained in:
Flatcar Buildbot 2024-01-29 07:11:15 +00:00 committed by Krzesimir Nowak
parent ba6c1af479
commit 884e2f9ed0
2 changed files with 11 additions and 2 deletions

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -35,6 +35,9 @@ src_prepare() {
} }
multilib_src_configure() { multilib_src_configure() {
# Broken (still) with lld-17 (bug #922342, bug #915068)
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
# bug 911726, https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/26 # bug 911726, https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/26
filter-flags -fno-semantic-interposition filter-flags -fno-semantic-interposition

View File

@ -4,7 +4,7 @@
EAPI=8 EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/guillemjover.asc VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/guillemjover.asc
inherit multilib multilib-minimal verify-sig inherit flag-o-matic multilib multilib-minimal verify-sig
DESCRIPTION="Library to provide useful functions commonly found on BSD systems" DESCRIPTION="Library to provide useful functions commonly found on BSD systems"
HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd" HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd"
@ -24,6 +24,12 @@ DEPEND="
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )"
multilib_src_configure() { multilib_src_configure() {
# Broken (still) with lld-17 (bug #922342, bug #915068)
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
# bug #911726
filter-flags -fno-semantic-interposition
# The build system will install libbsd-ctor.a despite USE="-static-libs" # The build system will install libbsd-ctor.a despite USE="-static-libs"
# which is correct, see: # which is correct, see:
# https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8 # https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8