summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-10-31 08:08:05 +0000
committerTorsten Veller <tove@gentoo.org>2010-10-31 08:08:05 +0000
commit226c99bb5ff7b02de9ea33c964f42089a068bf05 (patch)
tree55f2b6616a169b2ed6c5fe64be5c17594fd764b2 /perl-core/Encode
parentCleanup (diff)
downloadgentoo-2-226c99bb5ff7b02de9ea33c964f42089a068bf05.tar.gz
gentoo-2-226c99bb5ff7b02de9ea33c964f42089a068bf05.tar.bz2
gentoo-2-226c99bb5ff7b02de9ea33c964f42089a068bf05.zip
enc2xs ignores missing @INC directories (#338802). Cleanup
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
Diffstat (limited to 'perl-core/Encode')
-rw-r--r--perl-core/Encode/ChangeLog8
-rw-r--r--perl-core/Encode/Encode-2.39.ebuild18
-rw-r--r--perl-core/Encode/Encode-2.40-r1.ebuild (renamed from perl-core/Encode/Encode-2.40.ebuild)3
-rw-r--r--perl-core/Encode/files/gentoo_enc2xs.diff36
4 files changed, 45 insertions, 20 deletions
diff --git a/perl-core/Encode/ChangeLog b/perl-core/Encode/ChangeLog
index 82faf55e01a4..64d7c789f37c 100644
--- a/perl-core/Encode/ChangeLog
+++ b/perl-core/Encode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for perl-core/Encode
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/perl-core/Encode/ChangeLog,v 1.9 2010/09/26 07:35:23 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/perl-core/Encode/ChangeLog,v 1.10 2010/10/31 08:08:05 tove Exp $
+
+*Encode-2.40-r1 (31 Oct 2010)
+
+ 31 Oct 2010; Torsten Veller <tove@gentoo.org> +files/gentoo_enc2xs.diff,
+ -Encode-2.39.ebuild, -Encode-2.40.ebuild, +Encode-2.40-r1.ebuild:
+ enc2xs ignores missing @INC directories (#338802). Cleanup
*Encode-2.40 (26 Sep 2010)
diff --git a/perl-core/Encode/Encode-2.39.ebuild b/perl-core/Encode/Encode-2.39.ebuild
deleted file mode 100644
index a4535e74f0d1..000000000000
--- a/perl-core/Encode/Encode-2.39.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/perl-core/Encode/Encode-2.39.ebuild,v 1.1 2009/12/02 15:25:45 tove Exp $
-
-EAPI=2
-
-MODULE_AUTHOR=DANKOGAI
-inherit perl-module
-
-DESCRIPTION="character encodings"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="!!<dev-lang/perl-5.8.8-r8"
-
-SRC_TEST=do
diff --git a/perl-core/Encode/Encode-2.40.ebuild b/perl-core/Encode/Encode-2.40-r1.ebuild
index a025dca9832c..f73733d1401e 100644
--- a/perl-core/Encode/Encode-2.40.ebuild
+++ b/perl-core/Encode/Encode-2.40-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/perl-core/Encode/Encode-2.40.ebuild,v 1.1 2010/09/26 07:35:23 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/perl-core/Encode/Encode-2.40-r1.ebuild,v 1.1 2010/10/31 08:08:05 tove Exp $
EAPI=3
@@ -16,3 +16,4 @@ IUSE=""
RDEPEND="!!<dev-lang/perl-5.8.8-r8"
SRC_TEST=do
+PATCHES=( "${FILESDIR}"/gentoo_enc2xs.diff )
diff --git a/perl-core/Encode/files/gentoo_enc2xs.diff b/perl-core/Encode/files/gentoo_enc2xs.diff
new file mode 100644
index 000000000000..8b46ea455089
--- /dev/null
+++ b/perl-core/Encode/files/gentoo_enc2xs.diff
@@ -0,0 +1,36 @@
+From: Torsten Veller <tove@gentoo.org>
+Subject: [PATCH] gentoo/enc2xs
+
+Tweak enc2xs to ignore missing @INC directories
+
+https://bugs.gentoo.org/show_bug.cgi?id=338802
+http://git.debian.org/?p=perl/perl-5.12.git;a=blob;h=227dc105;hb=9d9ed099
+
+---
+ cpan/Encode/bin/enc2xs | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs
+index 773c0a0..b95507b 100644
+--- a/cpan/Encode/bin/enc2xs
++++ b/cpan/Encode/bin/enc2xs
+@@ -924,7 +924,7 @@ use vars qw(
+ sub find_e2x{
+ eval { require File::Find; };
+ my (@inc, %e2x_dir);
+- for my $inc (@INC){
++ for my $inc (grep -d, @INC){
+ push @inc, $inc unless $inc eq '.'; #skip current dir
+ }
+ File::Find::find(
+@@ -1005,7 +1005,7 @@ sub make_configlocal_pm {
+ $LocalMod{$enc} ||= $mod;
+ }
+ };
+- File::Find::find({wanted => $wanted}, @INC);
++ File::Find::find({wanted => $wanted}, grep -d, @INC);
+ $_ModLines = "";
+ for my $enc ( sort keys %LocalMod ) {
+ $_ModLines .=
+--
+tg: (e5b15fe..) gentoo/enc2xs (depends on: upstream)