smanders / externpro

build external projects with cmake
MIT License
13 stars 12 forks source link

ffmpeg 2.6.2 build fails #231

Closed smanders closed 5 years ago

smanders commented 5 years ago

ubuntu 18.04.2 LTS, perl v5.26.1

POD doc/ffmpeg.pod
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\@anchor{ <-- HERE (?:[^\}]*)\}/ at /tmp/externpro/_bld/xpbase/Source/ffmpeg_2.6.2/doc/texi2pod.pl line 387.
smanders commented 5 years ago
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 6127dd838a..1235f9c3d0 100644
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -384,7 +384,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;
smanders commented 5 years ago

strangely, patch doesn't appear to be needed for ubuntu 16.04.6 LTS, perl v5.22.1

smanders commented 5 years ago

completed with commits and pull referenced above