commit:     59608aa2c8e4627f56541e2795f7bdefd080d903
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 13:04:22 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Oct 22 04:59:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59608aa2

net-vpn/tor: mark implicit function decl as FP

It correctly fails anyway. Gentoo doesn't even provide a nacl package
but intriguingly this configure script doesn't bother to use builtin
autoconf library checking routines...

Closes: https://bugs.gentoo.org/900092
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-vpn/tor/tor-0.4.8.12-r1.ebuild | 6 ++++++
 net-vpn/tor/tor-9999.ebuild        | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/net-vpn/tor/tor-0.4.8.12-r1.ebuild 
b/net-vpn/tor/tor-0.4.8.12-r1.ebuild
index 9bd15b87b19b..2cc565cd9bfa 100644
--- a/net-vpn/tor/tor-0.4.8.12-r1.ebuild
+++ b/net-vpn/tor/tor-0.4.8.12-r1.ebuild
@@ -73,6 +73,12 @@ PATCHES=(
        "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # test correctly fails because -lnacl fails if not available
+       # https://bugs.gentoo.org/900092
+       crypto_scalarmult_curve25519
+)
+
 pkg_setup() {
        use test && python-any-r1_pkg_setup
 }

diff --git a/net-vpn/tor/tor-9999.ebuild b/net-vpn/tor/tor-9999.ebuild
index 089779d771f6..22759b502bcd 100644
--- a/net-vpn/tor/tor-9999.ebuild
+++ b/net-vpn/tor/tor-9999.ebuild
@@ -73,6 +73,12 @@ PATCHES=(
        "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # test correctly fails because -lnacl fails if not available
+       # https://bugs.gentoo.org/900092
+       crypto_scalarmult_curve25519
+)
+
 pkg_setup() {
        use test && python-any-r1_pkg_setup
 }

Reply via email to