summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/patchsets/gcc/4.9.4/gentoo/94_all_compatibility_fix_with_perl_5.26.patch29
-rw-r--r--src/patchsets/gcc/4.9.4/gentoo/README.history3
2 files changed, 32 insertions, 0 deletions
diff --git a/src/patchsets/gcc/4.9.4/gentoo/94_all_compatibility_fix_with_perl_5.26.patch b/src/patchsets/gcc/4.9.4/gentoo/94_all_compatibility_fix_with_perl_5.26.patch
new file mode 100644
index 0000000000..1d16c2b5cf
--- /dev/null
+++ b/src/patchsets/gcc/4.9.4/gentoo/94_all_compatibility_fix_with_perl_5.26.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/show_bug.cgi?id=620164
+
+Unescaped left brace in regex is now a fatal error.
+
+
+diff -ruN gcc-5.4.0.orig/contrib/texi2pod.pl gcc-5.4.0/contrib/texi2pod.pl
+--- gcc-5.4.0.orig/contrib/texi2pod.pl 2014-08-11 09:29:41.000000000 +0200
++++ gcc-5.4.0/contrib/texi2pod.pl 2017-05-29 20:03:29.763162185 +0200
+@@ -316,7 +316,7 @@
+ @columns = ();
+ for $column (split (/\s*\@tab\s*/, $1)) {
+ # @strong{...} is used a @headitem work-alike
+- $column =~ s/^\@strong{(.*)}$/$1/;
++ $column =~ s/^\@strong\{(.*)}$/$1/;
+ push @columns, $column;
+ }
+ $_ = "\n=item ".join (" : ", @columns)."\n";
+diff -ruN gcc-5.4.0.orig/libjava/classpath/doc/texi2pod.pl gcc-5.4.0/libjava/classpath/doc/texi2pod.pl
+--- gcc-5.4.0.orig/libjava/classpath/doc/texi2pod.pl 2007-06-04 01:18:43.000000000 +0200
++++ gcc-5.4.0/libjava/classpath/doc/texi2pod.pl 2017-05-29 20:04:45.912165337 +0200
+@@ -311,7 +311,7 @@
+ @columns = ();
+ for $column (split (/\s*\@tab\s*/, $1)) {
+ # @strong{...} is used a @headitem work-alike
+- $column =~ s/^\@strong{(.*)}$/$1/;
++ $column =~ s/^\@strong\{(.*)}$/$1/;
+ push @columns, $column;
+ }
+ $_ = "\n=item ".join (" : ", @columns)."\n";
diff --git a/src/patchsets/gcc/4.9.4/gentoo/README.history b/src/patchsets/gcc/4.9.4/gentoo/README.history
index 7a8c2563ed..a7922cb20b 100644
--- a/src/patchsets/gcc/4.9.4/gentoo/README.history
+++ b/src/patchsets/gcc/4.9.4/gentoo/README.history
@@ -1,3 +1,6 @@
+1.1 06 Aug 2017
+ + 94_all_compatibility_fix_with_perl_5.26.patch
+
1.0 14 Aug 2016
+ 09_all_default-ssp.patch
+ 10_all_default-fortify-source.patch