summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl@gmail.com>2017-11-11 16:49:08 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-12-04 21:26:25 +0100
commit206f0333252feea61ad01bdceb927ac0a1ee6d60 (patch)
treeb7fef0aaac63749c43516ce9c60a47b4d7f7933a /dev-libs/tvision
parentapp-misc/ttyrec: stable for amd64. (diff)
downloadgentoo-206f0333252feea61ad01bdceb927ac0a1ee6d60.tar.gz
gentoo-206f0333252feea61ad01bdceb927ac0a1ee6d60.tar.bz2
gentoo-206f0333252feea61ad01bdceb927ac0a1ee6d60.zip
dev-libs/tvision: fix dot-in-INC issue.
Closes: https://bugs.gentoo.org/634684 Closes: https://github.com/gentoo/gentoo/pull/6172 Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'dev-libs/tvision')
-rw-r--r--dev-libs/tvision/files/tvision-2.1.0_pre2-perl-INC.patch30
-rw-r--r--dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild1
2 files changed, 31 insertions, 0 deletions
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
index 000000000000..8a559bde5ccf
--- /dev/null
+++ b/dev-libs/tvision/files/tvision-2.1.0_pre2-perl-INC.patch
@@ -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();
+
diff --git a/dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild b/dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild
index 1bac9ca9f3f8..0990426185ec 100644
--- a/dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild
+++ b/dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild
@@ -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() {