media-video/libav: Fix build with perl-5.26, bug 634646
authorAndreas K. Huettel <dilfridge@gentoo.org>
Fri, 16 Feb 2018 17:31:27 +0000 (18:31 +0100)
committerAndreas K. Huettel <dilfridge@gentoo.org>
Fri, 16 Feb 2018 17:31:44 +0000 (18:31 +0100)
Closes: https://bugs.gentoo.org/634646
Package-Manager: Portage-2.3.24, Repoman-2.3.6

media-video/libav/files/libav-11.8-perl526.patch [new file with mode: 0644]
media-video/libav/libav-11.8.ebuild

diff --git a/media-video/libav/files/libav-11.8-perl526.patch b/media-video/libav/files/libav-11.8-perl526.patch
new file mode 100644 (file)
index 0000000..d9625c6
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ruN libav-11.8.orig/doc/texi2pod.pl libav-11.8/doc/texi2pod.pl
+--- libav-11.8.orig/doc/texi2pod.pl    2016-09-06 18:09:14.000000000 +0200
++++ libav-11.8/doc/texi2pod.pl 2018-02-16 18:25:11.823113370 +0100
+@@ -379,7 +379,7 @@
+     # @* 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;
index 4a42816a6301ced6eafffb0185d34265bccdbc42..04dccfd24e3fd4bc3a996ad2f3d0d8612d996dab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -153,6 +153,7 @@ src_prepare() {
        epatch_user
 
        epatch "${FILESDIR}"/libav-11.3-libvpx-1.5.0.patch #565696
+       epatch "${FILESDIR}"/libav-11.8-perl526.patch      #634646
 
        # if we have snapshot then we need to hardcode the version
        if [[ ${PV%_p*} != ${PV} ]]; then