Skip to content

Commit

Permalink
dev-libs/tvision: fix dot-in-INC issue.
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/634684
Closes: gentoo#6172
Package-Manager: Portage-2.3.13, Repoman-2.3.4
  • Loading branch information
waebbl authored and monsieurp committed Dec 4, 2017
1 parent 01e185c commit 206f033
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions dev-libs/tvision/files/tvision-2.1.0_pre2-perl-INC.patch
Original file line number Diff line number Diff line change
@@ -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();

1 change: 1 addition & 0 deletions dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 206f033

Please sign in to comment.