Sam James 0acd23de8a sys-devel/autoconf: backport K&R decls fix to 2.71
Backport the K&R decls fix to 2.71 to avoid configure tests
failing (often "silently", i.e. doesn't fail the build of
the package overall, just leads to wrong results) with
newer compilers like the upcoming Clang 16.

A consequence of this whole fuss is that we're going to
have to eautoreconf in a bunch of older packages, but
as Ionen pointed out on IRC, this means we get some
other stuff for free like Python 3.10 fixes, so it's
not all bad.

Undecided how to handle any packages with a generated
configure from autoconfs not in tree. We may just
patch the configure manually. Will see.

See linked bug 870412 and the Discourse thread therein for
details if unfamiliar.

Patches:
- AC_C_BIGENDIAN-lto.patch ("Port AC_C_BIGENDIAN to cross gcc -std=c11 -flto")
- AC_LANG_CALL_C_cxx.patch ("Port AC_LANG_CALL(C) to C++")
- K-R-decls-clang.patch ("Port to compilers that moan about K&R func decls")

The first two are included to make the latter apply cleanly, but they're
also both harmless and desirable.

As I remarked on IRC, it's unfortunate to have to backport anything
which will then infect generated configure, as it's somewhat
a repeat of the --runstatedir situation, and it leads to confusion/hassle
when sending patches upstream where a generated/bootstrapped configure
is required.

But this is different - it's a (serious) bug being fixed
rather than a gratuitous (although) understandable given we weren't
sure if we'd ever see another autoconf release backport of a new
feature.

Backports to 2.69 & 2.13 to follow.

Bug: https://bugs.gentoo.org/806376
Bug: https://bugs.gentoo.org/870412
Thanks-to: Arsen Arsenovic <arsen@aarsen.me>
Signed-off-by: Sam James <sam@gentoo.org>
2022-09-19 17:26:40 +01:00
2022-09-18 16:20:38 -05:00
2022-09-19 04:28:23 +01:00
2022-09-02 22:49:25 +07:00
2022-08-31 21:39:22 +02:00
2022-09-16 08:37:01 -04:00
2022-09-16 08:27:07 -05:00
2022-09-07 20:00:48 +02:00
2022-09-17 00:25:27 +01:00
2022-09-08 23:48:07 -05:00
2022-08-31 05:53:54 -04:00
2022-09-11 10:36:30 +02:00
2022-09-19 16:03:51 +02:00
2022-09-18 17:34:33 +02:00
2022-09-16 01:04:54 -07:00
2022-09-19 16:07:09 +02:00
2022-09-19 08:17:47 -05:00
2022-09-17 12:46:23 -04:00
2022-09-18 11:32:12 +02:00
2022-09-19 00:59:59 +02:00
2022-09-19 03:25:00 +01:00
2022-09-15 09:24:04 -04:00
2022-09-18 16:15:21 -05:00
2022-09-19 04:42:05 +01:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%