commit: 206f0333252feea61ad01bdceb927ac0a1ee6d60 Author: Bernd Waibel <waebbl <AT> gmail <DOT> com> AuthorDate: Sat Nov 11 15:49:08 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Mon Dec 4 20:26:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=206f0333
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 .../files/tvision-2.1.0_pre2-perl-INC.patch | 30 ++++++++++++++++++++++ dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild | 1 + 2 files changed, 31 insertions(+) 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 00000000000..8a559bde5cc --- /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 1bac9ca9f3f..0990426185e 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() {