From: Schantl Stefan Date: Thu, 11 Mar 2010 10:28:50 +0000 (+0100) Subject: toolchain: Remove crappy patches from perl. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f452deaaf79a0f4d2332ed7df7b00835ea01c4b;p=ipfire-3.x.git toolchain: Remove crappy patches from perl. --- diff --git a/pkgs/toolchain/perl/patches/perl-5.10.0-libc-1.patch b/pkgs/toolchain/perl/patches/perl-5.10.0-libc-1.patch deleted file mode 100644 index f31910b18..000000000 --- a/pkgs/toolchain/perl/patches/perl-5.10.0-libc-1.patch +++ /dev/null @@ -1,32 +0,0 @@ -Submitted By: Anderson Lizardo -Date: 2006-02-15 -Initial Package Version: 5.8.8 -Origin: based on current LFS-BOOK patch (perl-5.8.0-libc-2.patch) -Description: this patch adapts some hard-wired paths to the C library. - It uses the $prefix variable to locate the correct libc. - -diff -Naur perl-5.8.8.orig/hints/linux.sh perl-5.8.8/hints/linux.sh ---- perl-5.8.8.orig/hints/linux.sh 2005-11-18 01:18:45.000000000 +0000 -+++ perl-5.8.8/hints/linux.sh 2006-02-12 12:20:32.000000000 +0000 -@@ -52,9 +52,9 @@ - # We don't use __GLIBC__ and __GLIBC_MINOR__ because they - # are insufficiently precise to distinguish things like - # libc-2.0.6 and libc-2.0.7. --if test -L /lib/libc.so.6; then -- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'` -- libc=/lib/$libc -+if test -L ${prefix}/lib/libc.so.6; then -+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'` -+ libc=${prefix}/lib/$libc - fi - - # Configure may fail to find lstat() since it's a static/inline -@@ -330,3 +330,8 @@ - libswanted="$*" - ;; - esac -+ -+locincpth="" -+loclibpth="" -+glibpth="${prefix}/lib" -+usrinc="${prefix}/include" diff --git a/pkgs/toolchain/perl/patches/perl-5.10.0-page-1.patch b/pkgs/toolchain/perl/patches/perl-5.10.0-page-1.patch deleted file mode 100644 index 83b098636..000000000 --- a/pkgs/toolchain/perl/patches/perl-5.10.0-page-1.patch +++ /dev/null @@ -1,18 +0,0 @@ -Submitted By: DJ Lucas -Date: 2008-08-28 -Initial Package Version: 5.10.0 -Origin: Self -Description: this patch removes the deprecated asm/page.h header. - -diff -Naur perl-5.10.0-orig/ext/IPC/SysV/SysV.xs perl-5.10.0/ext/IPC/SysV/SysV.xs ---- perl-5.10.0-orig/ext/IPC/SysV/SysV.xs 2008-08-19 22:36:43.000000000 -0500 -+++ perl-5.10.0/ext/IPC/SysV/SysV.xs 2007-12-18 04:47:07.000000000 -0600 -@@ -24,8 +24,6 @@ - # elif defined(HAS_GETPAGESIZE) - # undef SHMLBA /* not static: determined at boot time */ - # define SHMLBA getpagesize() --# elif defined(__linux__) --# include - # endif - # endif - #endif diff --git a/pkgs/toolchain/perl/patches/perl-5.10.0-security_fix-1.patch b/pkgs/toolchain/perl/patches/perl-5.10.0-security_fix-1.patch deleted file mode 100644 index 76c62657a..000000000 --- a/pkgs/toolchain/perl/patches/perl-5.10.0-security_fix-1.patch +++ /dev/null @@ -1,22 +0,0 @@ -Submitted by: DJ Lucas (dj AT linuxfromscratch DOT org) -Date: 2008-08-28 -Initial Package Version: 5.10.0 -Upstream Status: Accepted -Origin: rmtree.patch from upstream source - http://rt.cpan.org/Public/Bug/Display.html?id=36982 - ---- perl-5.10.0-orig/lib/File/Path.pm -+++ perl-5.10.0/lib/File/Path.pm -@@ -359,9 +359,9 @@ sub _rmtree { - next ROOT_DIR; - } - -- my $nperm = $perm & 07777 | 0600; -- if ($nperm != $perm and not chmod $nperm, $root) { -- if ($Force_Writeable) { -+ if ($Force_Writeable) { -+ my $nperm = $perm & 07777 | 0600; -+ if ($nperm != $perm and not chmod $nperm, $root) { - _error($arg, "cannot make file writeable", $canon); - } - }