From 9d95ea1c4f26dcb47bc851039f51b75c726e4bdd Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 21 May 2024 22:50:00 -0400 Subject: [PATCH] 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 Signed-off-by: Sam James --- 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 2f4a6284d0a03..9141fddae28ef 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 7af661f690f83..488dbff0dc941 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