Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/linuxtv-dvb-apps/, media-tv/linuxtv-dvb-apps/files/
Date: Sun, 06 Aug 2017 08:38:29
Message-Id: 1502008687.67a6c2ec99e5bea632d089c51e914100bd6bf6cf.dilfridge@gentoo
1 commit: 67a6c2ec99e5bea632d089c51e914100bd6bf6cf
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 08:37:41 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 6 08:38:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a6c2ec
7
8 media-tv/linuxtv-dvb-apps: Add build fix for Perl 5.26, bug 623578
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 .../files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch | 12 ++++++++++++
13 .../linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild | 3 ++-
14 2 files changed, 14 insertions(+), 1 deletion(-)
15
16 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
17 new file mode 100644
18 index 00000000000..4db9ac3b546
19 --- /dev/null
20 +++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch
21 @@ -0,0 +1,12 @@
22 +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
23 +--- linuxtv-dvb-apps-1.1.1.20100223.orig/util/scan/section_generate.pl 2010-02-14 12:21:19.000000000 -0000
24 ++++ linuxtv-dvb-apps-1.1.1.20100223/util/scan/section_generate.pl 2017-08-06 08:35:19.625688435 -0000
25 +@@ -4,7 +4,7 @@
26 +
27 + die "no section perl file given" unless @ARGV;
28 +
29 +-my $h = require($ARGV[0]);
30 ++my $h = require("./".$ARGV[0]);
31 +
32 + our $basename;
33 + our $debug = $ARGV[1];
34
35 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
36 index 88362e0f4de..1cb34872418 100644
37 --- a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild
38 +++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223-r1.ebuild
39 @@ -32,7 +32,8 @@ DEPEND="${RDEPEND}
40 src_prepare() {
41 epatch \
42 "${FILESDIR}"/${P}-ldflags.patch \
43 - "${FILESDIR}"/${P}-alevt.patch
44 + "${FILESDIR}"/${P}-alevt.patch \
45 + "${FILESDIR}"/${P}-perl526.patch
46
47 # do not compile test-progs, incompatible with videodev2.h
48 sed -e '/-C test/d' \