From f156c7092d93ca8ffbd5d714581f98793c864c19 Mon Sep 17 00:00:00 2001 From: "Andreas K. Huettel" Date: Fri, 16 Feb 2018 18:31:27 +0100 Subject: media-video/libav: Fix build with perl-5.26, bug 634646 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 | 12 ++++++++++++ media-video/libav/libav-11.8.ebuild | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 media-video/libav/files/libav-11.8-perl526.patch (limited to 'media-video/libav') 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 index 000000000000..d9625c653dec --- /dev/null +++ b/media-video/libav/files/libav-11.8-perl526.patch @@ -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; diff --git a/media-video/libav/libav-11.8.ebuild b/media-video/libav/libav-11.8.ebuild index 4a42816a6301..04dccfd24e3f 100644 --- a/media-video/libav/libav-11.8.ebuild +++ b/media-video/libav/libav-11.8.ebuild @@ -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 -- cgit v1.2.3-65-gdbad