summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-05-21 18:22:04 -0400
committerSam James <sam@gentoo.org>2024-05-22 02:06:17 +0100
commitcb8bcce7d9f965a0c09f5849a1d12aef12510c89 (patch)
tree6d948e81fe82832612ee88d51d07c5c13f761791 /net-misc
parentnet-dns/libidn2: make sure elibtoolize is applied (diff)
downloadgentoo-cb8bcce7d9f965a0c09f5849a1d12aef12510c89.tar.gz
gentoo-cb8bcce7d9f965a0c09f5849a1d12aef12510c89.tar.bz2
gentoo-cb8bcce7d9f965a0c09f5849a1d12aef12510c89.zip
net-misc/dhcpcd: add whitelist for false positive configure implicit decls
arc4random is actually added to glibc now. The checks work there, and still fail on musl, which they were always supposed to -- the checks are run with -Werror, and even without that, the linker dies with undefined references here. So this is "safe", albeit kinda gross when autoconf exists. Closes: https://bugs.gentoo.org/924825 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dhcpcd/dhcpcd-10.0.6-r3.ebuild4
-rw-r--r--net-misc/dhcpcd/dhcpcd-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/net-misc/dhcpcd/dhcpcd-10.0.6-r3.ebuild b/net-misc/dhcpcd/dhcpcd-10.0.6-r3.ebuild
index 3fcb61425cc4..492b2eca8327 100644
--- a/net-misc/dhcpcd/dhcpcd-10.0.6-r3.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-10.0.6-r3.ebuild
@@ -46,6 +46,10 @@ QA_CONFIG_IMPL_DECL_SKIP=(
consttime_memequal
SHA256_Init
hmac
+ # These may exist on some glibc versions, but the checks fail due to
+ # -Werror / undefined reference no matter what. bug #924825
+ arc4random
+ arc4random_uniform
)
PATCHES=(
diff --git a/net-misc/dhcpcd/dhcpcd-9999.ebuild b/net-misc/dhcpcd/dhcpcd-9999.ebuild
index 1c3bbc87d456..56307d8d8f09 100644
--- a/net-misc/dhcpcd/dhcpcd-9999.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-9999.ebuild
@@ -46,6 +46,10 @@ QA_CONFIG_IMPL_DECL_SKIP=(
consttime_memequal
SHA256_Init
hmac
+ # These may exist on some glibc versions, but the checks fail due to
+ # -Werror / undefined reference no matter what. bug #924825
+ arc4random
+ arc4random_uniform
)
PATCHES=(