From 5357131a7f71bea10869ab6a06ab38292a737bc2 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Sun, 19 Nov 2006 19:27:21 +0000 Subject: Bug 144965, gcc-4.2 bug/patch, patch provided by dirtyepic (Portage version: 2.1.2_rc1-r7) --- sys-devel/libperl/ChangeLog | 6 +++++- .../libperl/files/libperl-5.8.8-gcc42-command-line.patch | 11 +++++++++++ sys-devel/libperl/libperl-5.8.8-r1.ebuild | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 sys-devel/libperl/files/libperl-5.8.8-gcc42-command-line.patch (limited to 'sys-devel/libperl') diff --git a/sys-devel/libperl/ChangeLog b/sys-devel/libperl/ChangeLog index f002a0542cef..8452a747870f 100644 --- a/sys-devel/libperl/ChangeLog +++ b/sys-devel/libperl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/libperl # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v 1.122 2006/11/18 16:29:10 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v 1.123 2006/11/19 19:27:21 mcummings Exp $ + + 19 Nov 2006; Michael Cummings + +files/libperl-5.8.8-gcc42-command-line.patch, libperl-5.8.8-r1.ebuild: + Bug 144965, gcc-4.2 bug/patch, patch provided by dirtyepic 18 Nov 2006; Michael Cummings -files/libperl-reorder-INC.patch, libperl-5.8.8-r1.ebuild: diff --git a/sys-devel/libperl/files/libperl-5.8.8-gcc42-command-line.patch b/sys-devel/libperl/files/libperl-5.8.8-gcc42-command-line.patch new file mode 100644 index 000000000000..6904136c782f --- /dev/null +++ b/sys-devel/libperl/files/libperl-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 '/^#.*/d' \ + -e '/^#.*/d' \ + -e '/^#.*/d' \ ++ -e '/^#.*/d' \ + -e '/^#.*"-"/d' \ + -e '/: file path prefix .* never used$/d' \ + -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \ diff --git a/sys-devel/libperl/libperl-5.8.8-r1.ebuild b/sys-devel/libperl/libperl-5.8.8-r1.ebuild index 349b54052a20..b7f8a1e3bb58 100644 --- a/sys-devel/libperl/libperl-5.8.8-r1.ebuild +++ b/sys-devel/libperl/libperl-5.8.8-r1.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/sys-devel/libperl/libperl-5.8.8-r1.ebuild,v 1.18 2006/11/18 16:29:10 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.8.8-r1.ebuild,v 1.19 2006/11/19 19:27:21 mcummings Exp $ # The basic theory based on comments from Daniel Robbins . # @@ -141,6 +141,7 @@ src_unpack() { [[ ${CHOST} == *-dragonfly* ]] && cd ${S} && epatch ${FILESDIR}/${P}-dragonfly-clean.patch [[ ${CHOST} == *-freebsd* ]] && cd ${S} && epatch ${FILESDIR}/${P}-fbsdhints.patch cd ${S}; epatch ${FILESDIR}/${P}-cplusplus.patch + has_version '>=sys-devel/gcc-4.2' && epatch ${FILESDIR}/${P}-gcc42-command-line.patch } myconf() { -- cgit v1.2.3-65-gdbad