summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-11-19 19:31:18 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-11-19 19:31:18 +0000
commit8ce52836424972c068e905db05b1ef20741a03f6 (patch)
treede0fb436b1d00baf09210bf9653d2c90204aeaed /dev-lang/perl
parentBug 144965, gcc-4.2 bug/patch, patch provided by dirtyepic (diff)
downloadgentoo-2-8ce52836424972c068e905db05b1ef20741a03f6.tar.gz
gentoo-2-8ce52836424972c068e905db05b1ef20741a03f6.tar.bz2
gentoo-2-8ce52836424972c068e905db05b1ef20741a03f6.zip
Bug 144965, gcc-4.2 bug/patch, patch provided by dirtyepic
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'dev-lang/perl')
-rw-r--r--dev-lang/perl/ChangeLog6
-rw-r--r--dev-lang/perl/files/perl-5.8.8-gcc42-command-line.patch11
-rw-r--r--dev-lang/perl/perl-5.8.8-r2.ebuild4
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index e9093f413075..a874b7bc9cb4 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/perl
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.233 2006/11/18 16:24:14 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.234 2006/11/19 19:31:18 mcummings Exp $
+
+ 19 Nov 2006; Michael Cummings <mcummings@gentoo.org>
+ +files/perl-5.8.8-gcc42-command-line.patch, perl-5.8.8-r2.ebuild:
+ Bug 144965, gcc-4.2 bug/patch, patch provided by dirtyepic
18 Nov 2006; Michael Cummings <mcummings@gentoo.org>
-files/perl-5.8.7-CAN-2005-0448-rmtree.patch,
diff --git a/dev-lang/perl/files/perl-5.8.8-gcc42-command-line.patch b/dev-lang/perl/files/perl-5.8.8-gcc42-command-line.patch
new file mode 100644
index 000000000000..6904136c782f
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-gcc42-command-line.patch
@@ -0,0 +1,11 @@
+diff -Naur perl-5.8.8-orig/makedepend.SH perl-5.8.8/makedepend.SH
+--- perl-5.8.8-orig/makedepend.SH 2006-10-01 20:05:40.000000000 -0600
++++ perl-5.8.8/makedepend.SH 2006-10-01 20:07:03.000000000 -0600
+@@ -167,6 +167,7 @@
+ -e '/^#.*<builtin>/d' \
+ -e '/^#.*<built-in>/d' \
+ -e '/^#.*<command line>/d' \
++ -e '/^#.*<command-line>/d' \
+ -e '/^#.*"-"/d' \
+ -e '/: file path prefix .* never used$/d' \
+ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
diff --git a/dev-lang/perl/perl-5.8.8-r2.ebuild b/dev-lang/perl/perl-5.8.8-r2.ebuild
index 85701ff1cc77..3e7e14a8a8be 100644
--- a/dev-lang/perl/perl-5.8.8-r2.ebuild
+++ b/dev-lang/perl/perl-5.8.8-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r2.ebuild,v 1.23 2006/11/18 16:24:14 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r2.ebuild,v 1.24 2006/11/19 19:31:18 mcummings Exp $
inherit eutils flag-o-matic toolchain-funcs multilib
@@ -124,6 +124,8 @@ src_unpack() {
# c++ patch - should address swig related items
cd ${S}; epatch ${FILESDIR}/${P}-cplusplus.patch
+ has_version '>=sys-devel/gcc-4.2' && epatch ${FILESDIR}/${P}-gcc42-command-line.patch
+
}
myconf() {