dev-libs/tvision: fix dot-in-INC issue.
authorBernd Waibel <waebbl@gmail.com>
Sat, 11 Nov 2017 15:49:08 +0000 (16:49 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 4 Dec 2017 20:26:25 +0000 (21:26 +0100)
Closes: https://bugs.gentoo.org/634684
Closes: https://github.com/gentoo/gentoo/pull/6172
Package-Manager: Portage-2.3.13, Repoman-2.3.4

dev-libs/tvision/files/tvision-2.1.0_pre2-perl-INC.patch [new file with mode: 0644]
dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild

diff --git a/dev-libs/tvision/files/tvision-2.1.0_pre2-perl-INC.patch b/dev-libs/tvision/files/tvision-2.1.0_pre2-perl-INC.patch
new file mode 100644 (file)
index 0000000..8a559bd
--- /dev/null
@@ -0,0 +1,30 @@
+diff --git a/config.pl b/config.pl
+index 53a7b50..784676b 100644
+--- a/config.pl
++++ b/config.pl
+@@ -5,8 +5,8 @@
+ # To specify the compilation flags define the CFLAGS environment variable.
+ #
+ 
+-require "miscperl.pl";
+-require "conflib.pl";
++require "./miscperl.pl";
++require "./conflib.pl";
+ 
+ # If the script is newer discard the cache.
+ #GetCache() unless (-M 'config.pl' < -M 'configure.cache');
+diff --git a/confignt.pl b/confignt.pl
+index e185f49..9ff7ae6 100644
+--- a/confignt.pl
++++ b/confignt.pl
+@@ -3,8 +3,8 @@
+ # see copyrigh file for details
+ #
+ 
+-require "miscperl.pl";
+-require "conflib.pl";
++require "./miscperl.pl";
++require "./conflib.pl";
+ 
+ SeeCommandLine();
+ 
index 1bac9ca9f3f8cc65befec7cc9983576fa4b4c1ed..0990426185ec19b6610d9edbfd4287ce84d6d9f0 100644 (file)
@@ -28,6 +28,7 @@ PATCHES=(
        "${FILESDIR}/${P}-flags.patch"
        "${FILESDIR}/${P}-gcc6.patch" # bug #594176
        "${FILESDIR}/${P}-build-system.patch" # for EAPI=6
+       "${FILESDIR}/${P}-perl-INC.patch" # dot-in-INC
 )
 
 src_prepare() {