* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-SSLeay/, dev-perl/Crypt-SSLeay/files/
@ 2017-06-19 20:29 Kent Fredric
0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2017-06-19 20:29 UTC (permalink / raw
To: gentoo-commits
commit: 21e52ef28c4eeab96f2146bafcdb40dc6e1a74b1
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 20:25:33 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 20:29:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e52ef2
dev-perl/Crypt-SSLeay: Fix for '.' in @INC re bug #615126
Hand-spun patch because the alternatives appearing upstream are frankly
nuts and combine 2 types of wrong to do things that nobody needs to do.
Bug: https://bugs.gentoo.org/615126
Package-Manager: Portage-2.3.6, Repoman-2.3.2
.../Crypt-SSLeay/Crypt-SSLeay-0.720.0-r1.ebuild | 2 +-
.../Crypt-SSLeay/Crypt-SSLeay-0.720.0-r2.ebuild | 3 ++-
.../files/Crypt-SSLeay-0.720.0-no-dot-inc.patch | 27 ++++++++++++++++++++++
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r1.ebuild b/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r1.ebuild
index c73f9942ad0..74a59504087 100644
--- a/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r1.ebuild
+++ b/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r1.ebuild
@@ -34,7 +34,7 @@ PDEPEND="
dev-perl/libwww-perl
>=dev-perl/LWP-Protocol-https-6.20.0
"
-
+PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch")
export OPTIMIZE="${CFLAGS}"
#myconf="--lib=${EPREFIX}/usr"
diff --git a/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r2.ebuild b/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r2.ebuild
index 05331fb8687..73bfd20fbcf 100644
--- a/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r2.ebuild
+++ b/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.720.0-r2.ebuild
@@ -36,4 +36,5 @@ PDEPEND="
>=dev-perl/LWP-Protocol-https-6.20.0
"
-PATCHES=( "${FILESDIR}"/${PN}-0.720.0-no-ssl3.patch )
+PATCHES=( "${FILESDIR}"/${PN}-0.720.0-no-ssl3.patch
+ "${FILESDIR}/${P}-no-dot-inc.patch" )
diff --git a/dev-perl/Crypt-SSLeay/files/Crypt-SSLeay-0.720.0-no-dot-inc.patch b/dev-perl/Crypt-SSLeay/files/Crypt-SSLeay-0.720.0-no-dot-inc.patch
new file mode 100644
index 00000000000..9ea1c6b8f6d
--- /dev/null
+++ b/dev-perl/Crypt-SSLeay/files/Crypt-SSLeay-0.720.0-no-dot-inc.patch
@@ -0,0 +1,27 @@
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Tue, 20 Jun 2017 08:04:39 +1200
+Subject: [PATCH] Remove need for '.' in @INC
+
+https://github.com/nanis/Crypt-SSLeay/pull/7
+
+---
+ Makefile.PL | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index fcc3a7d..937789a 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -8,7 +8,8 @@ use Getopt::Long qw( GetOptionsFromArray );
+ use Path::Class;
+ use Try::Tiny;
+
+-use inc::IO::Interactive::Tiny;
++use lib 'inc';
++use IO::Interactive::Tiny;
+
+ caller
+ or run(\@ARGV, [qw{ssl crypto ssl32 ssleay32 eay32 libeay32 z}]);
+--
+2.13.1
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-19 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-19 20:29 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-SSLeay/, dev-perl/Crypt-SSLeay/files/ Kent Fredric
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox