summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-19 20:09:45 +0100
committerSam James <sam@gentoo.org>2022-09-19 20:10:18 +0100
commit855f1f72f42c2f9b5ed97220e3ced97a35aa075b (patch)
tree4cca34e8d8d41d191c7fbdd1635675d248adecf2
parentdev-python/uc-micro-py: Keyword 1.0.1 hppa, #871552 (diff)
downloadgentoo-855f1f72f42c2f9b5ed97220e3ced97a35aa075b.tar.gz
gentoo-855f1f72f42c2f9b5ed97220e3ced97a35aa075b.tar.bz2
gentoo-855f1f72f42c2f9b5ed97220e3ced97a35aa075b.zip
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@gentoo.org>
-rw-r--r--sys-devel/autoconf/autoconf-2.71-r4.ebuild (renamed from sys-devel/autoconf/autoconf-2.71-r3.ebuild)0
-rw-r--r--sys-devel/autoconf/files/autoconf-2.71-AC_LANG_CALL_C_cxx.patch7
2 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/autoconf/autoconf-2.71-r3.ebuild b/sys-devel/autoconf/autoconf-2.71-r4.ebuild
index 225cfc50a50f..225cfc50a50f 100644
--- a/sys-devel/autoconf/autoconf-2.71-r3.ebuild
+++ b/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 <eggert@cs.ucla.edu>
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"