summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-08-06 10:37:41 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-08-06 10:38:07 +0200
commit67a6c2ec99e5bea632d089c51e914100bd6bf6cf (patch)
tree4942ed090918010afc5dcd0b923dfe7180394031 /media-tv
parentmedia-gfx/iscan: remove old deprecated eapi (diff)
downloadgentoo-67a6c2ec99e5bea632d089c51e914100bd6bf6cf.tar.gz
gentoo-67a6c2ec99e5bea632d089c51e914100bd6bf6cf.tar.bz2
gentoo-67a6c2ec99e5bea632d089c51e914100bd6bf6cf.zip
media-tv/linuxtv-dvb-apps: Add build fix for Perl 5.26, bug 623578
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch12
-rw-r--r--media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild3
2 files changed, 14 insertions, 1 deletions
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 000000000000..4db9ac3b5460
--- /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 88362e0f4de3..1cb348724186 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' \