aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-05-31 02:10:38 +0800
committermat <mat@FreeBSD.org>2016-05-31 02:10:38 +0800
commit07e460c318827bb0e36c4fdb6ce251a4a7e2cb3f (patch)
treed6627725c1930e139a8821460ff0a3c779f015fa
parentd4cc855b4b89b8914bffaf8ae1f4a2120f1aa8fd (diff)
downloadfreebsd-ports-gnome-07e460c318827bb0e36c4fdb6ce251a4a7e2cb3f.tar.gz
freebsd-ports-gnome-07e460c318827bb0e36c4fdb6ce251a4a7e2cb3f.tar.zst
freebsd-ports-gnome-07e460c318827bb0e36c4fdb6ce251a4a7e2cb3f.zip
Fix build with Perl 5.25.1+.
Unescaped left brace in regex is illegal in regex. With hat: perl@ Sponsored by: Absolight
-rw-r--r--multimedia/ffmpeg0/files/patch-doc_texi2pod.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/ffmpeg0/files/patch-doc_texi2pod.pl b/multimedia/ffmpeg0/files/patch-doc_texi2pod.pl
new file mode 100644
index 000000000000..69b31b0c8e39
--- /dev/null
+++ b/multimedia/ffmpeg0/files/patch-doc_texi2pod.pl
@@ -0,0 +1,11 @@
+--- doc/texi2pod.pl.orig 2015-03-12 00:05:23 UTC
++++ doc/texi2pod.pl
+@@ -348,7 +348,7 @@ sub postprocess
+ # @* is also impossible in .pod; we discard it and any newline that
+ # follows it. Similarly, our macro @gol must be discarded.
+
+- s/\@anchor{(?:[^\}]*)\}//g;
++ s/\@anchor\{(?:[^\}]*)\}//g;
+ s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
+ s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
+ s/;\s+\@pxref\{(?:[^\}]*)\}//g;