commit:     9d95ea1c4f26dcb47bc851039f51b75c726e4bdd
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed May 22 02:50:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 22 04:34:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d95ea1c

app-shells/bash: add whitelist for false positive configure implicit decls

makedev isn't supposed to exist where it is being checked here, but the
check itself vanishes in modern autoconf, and is thus unneeded for bash
5.2+.

Whitelist it just for the current version, which predates that.

Closes: https://bugs.gentoo.org/916480
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-shells/bash/bash-5.1_p16-r10.ebuild | 6 ++++++
 app-shells/bash/bash-5.1_p16-r6.ebuild  | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/app-shells/bash/bash-5.1_p16-r10.ebuild 
b/app-shells/bash/bash-5.1_p16-r10.ebuild
index 2f4a6284d0a0..9141fddae28e 100644
--- a/app-shells/bash/bash-5.1_p16-r10.ebuild
+++ b/app-shells/bash/bash-5.1_p16-r10.ebuild
@@ -88,6 +88,12 @@ BDEPEND="
 # EAPI 8 tries to append it but it doesn't exist here.
 QA_CONFIGURE_OPTIONS="--disable-static"
 
+QA_CONFIG_IMPL_DECL_SKIP+=(
+       # this is fixed in autoconf 2.71, used in bash 5.2. The check fails
+       # regardless of GCC version. bug #916480
+       makedev
+)
+
 PATCHES=(
        #"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}/
 

diff --git a/app-shells/bash/bash-5.1_p16-r6.ebuild 
b/app-shells/bash/bash-5.1_p16-r6.ebuild
index 7af661f690f8..488dbff0dc94 100644
--- a/app-shells/bash/bash-5.1_p16-r6.ebuild
+++ b/app-shells/bash/bash-5.1_p16-r6.ebuild
@@ -96,6 +96,12 @@ BDEPEND="sys-devel/bison
 
 S="${WORKDIR}/${MY_P}"
 
+QA_CONFIG_IMPL_DECL_SKIP+=(
+       # this is fixed in autoconf 2.71, used in bash 5.2. The check fails
+       # regardless of GCC version. bug #916480
+       makedev
+)
+
 PATCHES=(
        # Patches from Chet sent to bashbug ml
        
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-5.0-syslog-history-extern.patch

Reply via email to