summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-15 02:19:16 +0000
committerSam James <sam@gentoo.org>2024-03-15 02:19:39 +0000
commit01e19560620d39e0ab0ada96d7b12b21f80b950e (patch)
tree093a83904ad6d59d08a2752585e13e5e35646bb2 /dev-util/autoproject/files/autoproject-0.20_p15-getopt-cxx-conflict-noexcept.patch
parentdev-python/pytesseract: Stabilize 0.3.12 x86, #926809 (diff)
downloadgentoo-01e19560620d39e0ab0ada96d7b12b21f80b950e.tar.gz
gentoo-01e19560620d39e0ab0ada96d7b12b21f80b950e.tar.bz2
gentoo-01e19560620d39e0ab0ada96d7b12b21f80b950e.zip
dev-util/autoproject: add 0.20_p15
Closes: https://bugs.gentoo.org/296630 Closes: https://bugs.gentoo.org/631312 Closes: https://bugs.gentoo.org/632255 Closes: https://bugs.gentoo.org/872989 Closes: https://bugs.gentoo.org/898578 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/autoproject/files/autoproject-0.20_p15-getopt-cxx-conflict-noexcept.patch')
-rw-r--r--dev-util/autoproject/files/autoproject-0.20_p15-getopt-cxx-conflict-noexcept.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/autoproject/files/autoproject-0.20_p15-getopt-cxx-conflict-noexcept.patch b/dev-util/autoproject/files/autoproject-0.20_p15-getopt-cxx-conflict-noexcept.patch
new file mode 100644
index 000000000000..d881b7275ca3
--- /dev/null
+++ b/dev-util/autoproject/files/autoproject-0.20_p15-getopt-cxx-conflict-noexcept.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/872989
+--- a/lib/cli/c++/none/getopt.h
++++ b/lib/cli/c++/none/getopt.h
+@@ -131,7 +131,7 @@ struct option
+ /* Many other libraries have conflicting prototypes for getopt, with
+ differences in the consts, in stdlib.h. To avoid compilation
+ errors, only prototype getopt for the GNU C library. */
+-extern int getopt (int __argc, char *const *__argv, const char *__shortopts);
++extern int getopt (int __argc, char *const *__argv, const char *__shortopts) noexcept;
+ # else /* not __GNU_LIBRARY__ */
+ extern int getopt ();
+ # endif /* __GNU_LIBRARY__ */