mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
It got reported a while after our one (I didn't bother given 8.3 was fixed). See https://lists.gnu.org/archive/html/bug-readline/2025-03/msg00000.html. Signed-off-by: Sam James <sam@gentoo.org>
22 lines
736 B
Diff
22 lines
736 B
Diff
HAVE_STDARG_H isn't defined for readline consumers externally so we always
|
|
end up using the ancient non-prototypes. Fix that as all compilers we care
|
|
about since forever in Gentoo will support this path.
|
|
|
|
This in particular shows up with rl_message in consumers:
|
|
https://bugs.gentoo.org/943820
|
|
https://bugs.gentoo.org/944059
|
|
https://bugs.gentoo.org/944300
|
|
https://bugs.gentoo.org/944344
|
|
[later: https://lists.gnu.org/archive/html/bug-readline/2025-03/msg00000.html]
|
|
--- a/rlstdc.h
|
|
+++ b/rlstdc.h
|
|
@@ -44,7 +44,7 @@
|
|
|
|
/* Moved from config.h.in because readline.h:rl_message depends on these
|
|
defines. */
|
|
-#if defined (__STDC__) && defined (HAVE_STDARG_H)
|
|
+#if defined (__STDC__)
|
|
# define PREFER_STDARG
|
|
# define USE_VARARGS
|
|
#else
|