Skip to content

Commit

Permalink
media-tv/linuxtv-dvb-apps: Add build fix for Perl 5.26, bug 623578
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
akhuettel committed Aug 6, 2017
1 parent 2217356 commit 67a6c2e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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];
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit 67a6c2e

Please sign in to comment.