[oe-commits] org.oe.dev perl-native: Patch perl's makedepend.SH to work with gcc 4.2. Shouldn't be

bero commit openembedded-commits at lists.openembedded.org
Tue May 1 11:43:55 UTC 2007


perl-native: Patch perl's makedepend.SH to work with gcc 4.2. Shouldn't be
needed for perl since it doesn't run makedepend.SH. Closes #2168

Author: bero at arklinux.org
Branch: org.openembedded.dev
Revision: 33db0448df3ec648a2029ca1ddf55811387fc3c3
ViewMTN: http://monotone.openembedded.org/revision.psp?id=33db0448df3ec648a2029ca1ddf55811387fc3c3
Files:
1
packages/perl/files/perl-5.8.8-gcc-4.2.patch
packages/perl/perl-native_5.8.7.bb
packages/perl/perl-native_5.8.8.bb
Diffs:

#
# mt diff -r28d894c206a3bfee24708913d7b2a4fbdfca447e -r33db0448df3ec648a2029ca1ddf55811387fc3c3
#
# 
# 
# add_file "packages/perl/files/perl-5.8.8-gcc-4.2.patch"
#  content [e5a683173b0d9469b46af6e117df37bc0de7fe76]
# 
# patch "packages/perl/perl-native_5.8.7.bb"
#  from [eeb5efcb3ecb9505ac36af970e4725249ff033e5]
#    to [c6aa41eb857157e23dd522c0358c9a6807f50b3b]
# 
# patch "packages/perl/perl-native_5.8.8.bb"
#  from [b2290a3cf42bf873cda4c15ccf6735339d50e8bb]
#    to [0b9015b005a238afd4054eaa9a1765cd444eb52d]
# 
============================================================
--- packages/perl/files/perl-5.8.8-gcc-4.2.patch	e5a683173b0d9469b46af6e117df37bc0de7fe76
+++ packages/perl/files/perl-5.8.8-gcc-4.2.patch	e5a683173b0d9469b46af6e117df37bc0de7fe76
@@ -0,0 +1,13 @@
+See http://bugs.openembedded.org/show_bug.cgi?id=2168
+Fix for gcc 4.2
+
+--- perl-5.8.8/makedepend.SH.ark	2006-11-01 16:32:05.000000000 +0100
++++ perl-5.8.8/makedepend.SH	2006-11-01 16:32:15.000000000 +0100
+@@ -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#" \
============================================================
--- packages/perl/perl-native_5.8.7.bb	eeb5efcb3ecb9505ac36af970e4725249ff033e5
+++ packages/perl/perl-native_5.8.7.bb	c6aa41eb857157e23dd522c0358c9a6807f50b3b
@@ -1,7 +1,7 @@ LICENSE = "Artistic|GPL"
 DESCRIPTION = "Perl is a popular scripting language."
 HOMEPAGE = "http://www.perl.org/"
 LICENSE = "Artistic|GPL"
-PR = "r4"
+PR = "r5"
 
 SECTION = "libs"
 inherit native
@@ -9,6 +9,7 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/
 DEPENDS = "virtual/db-native gdbm-native"
 
 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
+           file://perl-5.8.8-gcc-4.2.patch;patch=1 \
            file://Configure-multilib.patch;patch=1"
 S = "${WORKDIR}/perl-${PV}"
 
============================================================
--- packages/perl/perl-native_5.8.8.bb	b2290a3cf42bf873cda4c15ccf6735339d50e8bb
+++ packages/perl/perl-native_5.8.8.bb	0b9015b005a238afd4054eaa9a1765cd444eb52d
@@ -1,15 +1,16 @@ DEPENDS = "virtual/db-native gdbm-native
 DESCRIPTION = "Perl is a popular scripting language."
 HOMEPAGE = "http://www.perl.org/"
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
 DEPENDS = "virtual/db-native gdbm-native"
-PR = "r1"
+PR = "r2"
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}"
 
 DEFAULT_PREFERENCE = "-1"
 
 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
+           file://perl-5.8.8-gcc-4.2.patch;patch=1 \
            file://Configure-multilib.patch;patch=1 \
            file://perl-configpm-switch.patch;patch=1"
 






More information about the Openembedded-commits mailing list