[arch-commits] CVS update of arch/build/base/perl (PKGBUILD perl-5.8.8-gcc-4.2.0.patch)
Jan de Groot
jgc at archlinux.org
Wed May 30 12:35:20 UTC 2007
Date: Wednesday, May 30, 2007 @ 08:35:20
Author: jgc
Path: /home/cvs-arch/arch/build/base/perl
Added: perl-5.8.8-gcc-4.2.0.patch (1.1)
Modified: PKGBUILD (1.44 -> 1.45)
Fix build with gcc 4.2.0
----------------------------+
PKGBUILD | 14 ++++++--------
perl-5.8.8-gcc-4.2.0.patch | 10 ++++++++++
2 files changed, 16 insertions(+), 8 deletions(-)
Index: arch/build/base/perl/PKGBUILD
diff -u arch/build/base/perl/PKGBUILD:1.44 arch/build/base/perl/PKGBUILD:1.45
--- arch/build/base/perl/PKGBUILD:1.44 Sun Mar 18 09:36:17 2007
+++ arch/build/base/perl/PKGBUILD Wed May 30 08:35:20 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.44 2007/03/18 13:36:17 jgc Exp $
+# $Id: PKGBUILD,v 1.45 2007/05/30 12:35:20 jgc Exp $
# Maintainer: judd <jvinet at zeroflux.org>
pkgname=perl
pkgver=5.8.8
@@ -11,18 +11,15 @@
http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/DB_File-1.814.tar.gz
http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/sprintf-5.8.7.patch
http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Sys-Syslog-0.10.tar.gz
- perl-5.8.6-picdl.patch0)
+ perl-5.8.6-picdl.patch0
+ perl-5.8.8-gcc-4.2.0.patch)
install=perl.install
md5sums=('b8c118d4360846829beb30b02a6b91a7'
'5ae102fe172f2aaf771a8d9cae23ca3a'
'e1ce6f6cf32434db77f78be5938af09c'
'8fc1f24fc7890e4fd8360e7e9f293099'
- '319b56a7ce715fb7a494fe4d5cb9474c')
-sha1sums=('acaa16580bedbea8636e2e8abb24cb285d6f5c55'
- '8713b4986b38526d5534a3dfd3110da27febf0f8'
- '3327901033010a595d97a28fef6d1a144951f342'
- '9d578d3157af6ba0c368ab15848eab43951153da'
- '3000bd0130ed20e0ff5d9fb0147240e3909473a7')
+ '319b56a7ce715fb7a494fe4d5cb9474c'
+ '546fc05b63b0add38898361c8de0c949')
build() {
cd $startdir/src/$pkgname-$pkgver
@@ -36,6 +33,7 @@
mv $startdir/src/DB_File-1.814 ./DB_File
cd $startdir/src/$pkgname-$pkgver
+ patch -Np1 -i ${startdir}/src/perl-5.8.8-gcc-4.2.0.patch || return 1
if [ "$CARCH" = "x86_64" ]; then
# for x86_64
patch -Np0 -i ../perl-5.8.6-picdl.patch0 || return 1
Index: arch/build/base/perl/perl-5.8.8-gcc-4.2.0.patch
diff -u /dev/null arch/build/base/perl/perl-5.8.8-gcc-4.2.0.patch:1.1
--- /dev/null Wed May 30 08:35:20 2007
+++ arch/build/base/perl/perl-5.8.8-gcc-4.2.0.patch Wed May 30 08:35:20 2007
@@ -0,0 +1,10 @@
+--- perl-5.8.x/makedepend.SH 2006-06-13 15:31:22.000000000 -0400
++++ perl-5.8.x-andy/makedepend.SH 2006-07-25 14:45:11.000000000 -0400
+@@ -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#" \
More information about the arch-commits
mailing list