From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/, sys-devel/autoconf/files/
Date: Fri, 18 Nov 2022 01:03:04 +0000 (UTC) [thread overview]
Message-ID: <1668733325.541ccf270b9b9b5631072a654cd3add5ccd433e7.sam@gentoo> (raw)
commit: 541ccf270b9b9b5631072a654cd3add5ccd433e7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 18 01:01:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 18 01:02:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541ccf27
sys-devel/autoconf: backport further Clang 16 fixes (2.69)
It turns out we had some of these fixes already in our 2.69 from
previous backporting work which ended up catching stuff which wasn't actually
applied upstream yet, so the patch change here is much smaller than for 2.71.
Bug: https://bugs.gentoo.org/870412
Signed-off-by: Sam James <sam <AT> gentoo.org>
...conf-2.69-r7.ebuild => autoconf-2.69-r8.ebuild} | 0
.../files/autoconf-2.69-K-R-decls-clang.patch | 29 ++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/sys-devel/autoconf/autoconf-2.69-r7.ebuild b/sys-devel/autoconf/autoconf-2.69-r8.ebuild
similarity index 100%
rename from sys-devel/autoconf/autoconf-2.69-r7.ebuild
rename to sys-devel/autoconf/autoconf-2.69-r8.ebuild
diff --git a/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch b/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch
index 9f16bc93adba..77444ebc5be6 100644
--- a/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch
+++ b/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch
@@ -1,5 +1,6 @@
https://bugs.gentoo.org/870412
https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=8b5e2016c7ed2d67f31b03a3d2e361858ff5299b
+(and contains a backport of https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=bf5a75953b6d504f0405b1ca33b039b8dd39eef4)
Backport the K&R decls fix to 2.69 to avoid configure tests
failing (often "silently", i.e. doesn't fail the build of
@@ -363,3 +364,31 @@ Subject: [PATCH] backport K&R decl fixes
#define mymacro1(arg) arg
#define mymacro2]])
# The difference in space-before-open-paren is intentional.
+--- a/lib/autoconf/c.m4
++++ b/lib/autoconf/c.m4
+@@ -1106,9 +1106,7 @@ struct stat;
+ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+ struct buf { int x; };
+ FILE * (*rcsopen) (struct buf *, struct stat *, int);
+-static char *e (p, i)
+- char **p;
+- int i;
++static char *e (char **p, int i)
+ {
+ return p[i];
+ }
+--- a/lib/autoconf/specific.m4
++++ b/lib/autoconf/specific.m4
+@@ -251,10 +251,9 @@ AC_INCLUDES_DEFAULT
+ /* Some platforms explicitly require an extern "C" signal handler
+ when using C++. */
+ #ifdef __cplusplus
+-extern "C" void ucatch (int dummy) { }
+-#else
+-void ucatch (dummy) int dummy; { }
++extern "C"
+ #endif
++void ucatch (int dummy) { }
+
+ int
+ main (void)
next reply other threads:[~2022-11-18 1:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 1:03 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-18 1:03 [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/, sys-devel/autoconf/files/ Sam James
2022-11-03 1:24 Sam James
2022-09-19 16:26 Sam James
2022-09-10 0:29 Sam James
2021-08-01 19:44 Andreas K. Hüttel
2021-03-13 20:08 Aaron Bauman
2020-12-01 17:19 Lars Wendler
2020-11-11 16:23 Lars Wendler
2020-10-21 7:00 Lars Wendler
2018-12-22 19:03 Andreas K. Hüttel
2017-08-04 15:17 Lars Wendler
2017-04-27 13:42 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1668733325.541ccf270b9b9b5631072a654cd3add5ccd433e7.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox