From dc6caa05480fe95b856f82213e0b7977451ea2bf Mon Sep 17 00:00:00 2001 From: NHOrus Date: Sun, 26 Jan 2025 16:48:20 +0400 Subject: [PATCH] dev-debug/valgrind: add FreeBSD function to false positive configure implicit decls aio_readv() is not a linux function and should be safely ignored. Patch to add vectored async io functions to linux was not accepted back in 2004 Closes: https://bugs.gentoo.org/932822 Signed-off-by: NHOrus Closes: https://github.com/gentoo/gentoo/pull/40314 Signed-off-by: Sam James --- dev-debug/valgrind/valgrind-3.23.0_p3.ebuild | 4 +++- dev-debug/valgrind/valgrind-3.24.0.ebuild | 4 +++- dev-debug/valgrind/valgrind-3.24.0_p1.ebuild | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild index 8c45bb70c6c33..428925ac1aef2 100644 --- a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild +++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -69,6 +69,8 @@ QA_CONFIG_IMPL_DECL_SKIP+=( # errors and reports both "function definition is not allowed here" and # -Wimplicit-function-declaration. bug #900396 foo + # FreeBSD function, bug #932822 + aio_readv ) src_unpack() { diff --git a/dev-debug/valgrind/valgrind-3.24.0.ebuild b/dev-debug/valgrind/valgrind-3.24.0.ebuild index bd5cb983fad22..829b9c0111688 100644 --- a/dev-debug/valgrind/valgrind-3.24.0.ebuild +++ b/dev-debug/valgrind/valgrind-3.24.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -69,6 +69,8 @@ QA_CONFIG_IMPL_DECL_SKIP+=( # errors and reports both "function definition is not allowed here" and # -Wimplicit-function-declaration. bug #900396 foo + # FreeBSD function, bug #932822 + aio_readv ) src_unpack() { diff --git a/dev-debug/valgrind/valgrind-3.24.0_p1.ebuild b/dev-debug/valgrind/valgrind-3.24.0_p1.ebuild index f5054af8409a4..727ac38ea0b4d 100644 --- a/dev-debug/valgrind/valgrind-3.24.0_p1.ebuild +++ b/dev-debug/valgrind/valgrind-3.24.0_p1.ebuild @@ -71,6 +71,8 @@ QA_CONFIG_IMPL_DECL_SKIP+=( # errors and reports both "function definition is not allowed here" and # -Wimplicit-function-declaration. bug #900396 foo + # FreeBSD function, bug #932822 + aio_readv ) src_unpack() {