commit: 855f1f72f42c2f9b5ed97220e3ced97a35aa075b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 19 19:09:45 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 19 19:10:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855f1f72
sys-devel/autoconf: workaround bad quoting in packages While the packages which break with the comma are themselves broken (need more quoting), we've got our hands full, so just mangle the patch to drop the comma in a comment added by autoconf-2.71-AC_LANG_CALL_C_cxx.patch. Bug: https://bugs.gentoo.org/871753 Signed-off-by: Sam James <sam <AT> gentoo.org> .../autoconf/{autoconf-2.71-r3.ebuild => autoconf-2.71-r4.ebuild} | 0 sys-devel/autoconf/files/autoconf-2.71-AC_LANG_CALL_C_cxx.patch | 7 ++++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-devel/autoconf/autoconf-2.71-r3.ebuild b/sys-devel/autoconf/autoconf-2.71-r4.ebuild similarity index 100% rename from sys-devel/autoconf/autoconf-2.71-r3.ebuild rename to sys-devel/autoconf/autoconf-2.71-r4.ebuild diff --git a/sys-devel/autoconf/files/autoconf-2.71-AC_LANG_CALL_C_cxx.patch b/sys-devel/autoconf/files/autoconf-2.71-AC_LANG_CALL_C_cxx.patch index c997c52e57d8..5b53d17135bc 100644 --- a/sys-devel/autoconf/files/autoconf-2.71-AC_LANG_CALL_C_cxx.patch +++ b/sys-devel/autoconf/files/autoconf-2.71-AC_LANG_CALL_C_cxx.patch @@ -1,5 +1,10 @@ https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=b27bc3e230bb12fdd9a813e38e82bc4c3e22b4cc +Note: we drop the comma from the comment because some packages +have bad quoting, and while that will need to be sorted when/if +autoconf 2.72 is released, we've got our hands full with the +Clang situation right now (bug #871753). + From b27bc3e230bb12fdd9a813e38e82bc4c3e22b4cc Mon Sep 17 00:00:00 2001 From: Paul Eggert <[email protected]> Date: Tue, 31 Aug 2021 16:30:46 -0700 @@ -19,7 +24,7 @@ Problem reported by Vincent Lefèvre (sr #110532). - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; -+ although this is not generally supported in C code, supporting it here ++ although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C"
