summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2014-09-28 15:53:17 +0000
committerMikle Kolyada <zlogene@gentoo.org>2014-09-28 15:53:17 +0000
commit7087b0687b0fbaa78c4079342c369cff06661af6 (patch)
tree8d815c5b6b3782b7346b95d3982babddabad022a /dev-perl/PerlIO-gzip
parentTemporarily remove the Perl 5.16 mask again, so people have more time for upg... (diff)
downloadgentoo-2-7087b0687b0fbaa78c4079342c369cff06661af6.tar.gz
gentoo-2-7087b0687b0fbaa78c4079342c369cff06661af6.tar.bz2
gentoo-2-7087b0687b0fbaa78c4079342c369cff06661af6.zip
Fix build against perl-5.20 (bug #520158)
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)
Diffstat (limited to 'dev-perl/PerlIO-gzip')
-rw-r--r--dev-perl/PerlIO-gzip/ChangeLog6
-rw-r--r--dev-perl/PerlIO-gzip/PerlIO-gzip-0.180.0-r1.ebuild4
-rw-r--r--dev-perl/PerlIO-gzip/files/perl-5.20-build.patch12
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-perl/PerlIO-gzip/ChangeLog b/dev-perl/PerlIO-gzip/ChangeLog
index 494a76aa42c7..42f5a46ac961 100644
--- a/dev-perl/PerlIO-gzip/ChangeLog
+++ b/dev-perl/PerlIO-gzip/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-perl/PerlIO-gzip
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PerlIO-gzip/ChangeLog,v 1.18 2014/08/22 19:48:46 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PerlIO-gzip/ChangeLog,v 1.19 2014/09/28 15:53:17 zlogene Exp $
+
+ 28 Sep 2014; Mikle Kolyada <zlogene@gentoo.org> +files/perl-5.20-build.patch,
+ PerlIO-gzip-0.180.0-r1.ebuild:
+ Fix build against perl-5.20 (bug #520158)
*PerlIO-gzip-0.180.0-r1 (22 Aug 2014)
diff --git a/dev-perl/PerlIO-gzip/PerlIO-gzip-0.180.0-r1.ebuild b/dev-perl/PerlIO-gzip/PerlIO-gzip-0.180.0-r1.ebuild
index 75bc6911ea1b..354bbdae4e4f 100644
--- a/dev-perl/PerlIO-gzip/PerlIO-gzip-0.180.0-r1.ebuild
+++ b/dev-perl/PerlIO-gzip/PerlIO-gzip-0.180.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PerlIO-gzip/PerlIO-gzip-0.180.0-r1.ebuild,v 1.1 2014/08/22 19:48:46 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PerlIO-gzip/PerlIO-gzip-0.180.0-r1.ebuild,v 1.2 2014/09/28 15:53:17 zlogene Exp $
EAPI=5
@@ -17,4 +17,6 @@ IUSE=""
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/perl-5.20-build.patch" )
+
SRC_TEST="do"
diff --git a/dev-perl/PerlIO-gzip/files/perl-5.20-build.patch b/dev-perl/PerlIO-gzip/files/perl-5.20-build.patch
new file mode 100644
index 000000000000..8c325d659a17
--- /dev/null
+++ b/dev-perl/PerlIO-gzip/files/perl-5.20-build.patch
@@ -0,0 +1,12 @@
+--- a/Makefile.PL 2006-10-01 21:28:25.000000000 +0000
++++ b/Makefile.PL 2014-01-23 15:40:56.784222851 +0000
+@@ -4,7 +4,8 @@
+ use ExtUtils::MakeMaker;
+ use Config;
+
+-unless ($Config{useperlio} eq 'define' and $Config{usesfio} eq 'false') {
++unless ($Config{useperlio} eq 'define' and
++ (defined($Config{usesfio}) ? $Config{usesfio} : 'false') eq 'false') {
+ die <<BARF;
+ You need perl 5.8.0 or later, configured to use perlio (and not to use sfio)
+ BARF