commit:     67a6c2ec99e5bea632d089c51e914100bd6bf6cf
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 08:37:41 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 08:38:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a6c2ec

media-tv/linuxtv-dvb-apps: Add build fix for Perl 5.26, bug 623578

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 .../files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch      | 12 ++++++++++++
 .../linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild                |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git 
a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch 
b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch
new file mode 100644
index 00000000000..4db9ac3b546
--- /dev/null
+++ 
b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch
@@ -0,0 +1,12 @@
+diff -ruN linuxtv-dvb-apps-1.1.1.20100223.orig/util/scan/section_generate.pl 
linuxtv-dvb-apps-1.1.1.20100223/util/scan/section_generate.pl
+--- linuxtv-dvb-apps-1.1.1.20100223.orig/util/scan/section_generate.pl 
2010-02-14 12:21:19.000000000 -0000
++++ linuxtv-dvb-apps-1.1.1.20100223/util/scan/section_generate.pl      
2017-08-06 08:35:19.625688435 -0000
+@@ -4,7 +4,7 @@
+ 
+ die "no section perl file given" unless @ARGV;
+ 
+-my $h = require($ARGV[0]);
++my $h = require("./".$ARGV[0]);
+ 
+ our $basename;
+ our $debug = $ARGV[1];

diff --git 
a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild 
b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild
index 88362e0f4de..1cb34872418 100644
--- a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild
+++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild
@@ -32,7 +32,8 @@ DEPEND="${RDEPEND}
 src_prepare() {
        epatch \
                "${FILESDIR}"/${P}-ldflags.patch \
-               "${FILESDIR}"/${P}-alevt.patch
+               "${FILESDIR}"/${P}-alevt.patch \
+               "${FILESDIR}"/${P}-perl526.patch
 
        # do not compile test-progs, incompatible with videodev2.h
        sed -e '/-C test/d' \

Reply via email to