source: patches/perl-5.12.2-libc-1.patch@ 02ac3c73

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 02ac3c73 was a81c020, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Perl to 5.12.2.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[1bf0ff5]1Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
[c7fdd488]2Date: 2010-08-01
3Initial Package Version: 5.8.8
[1bf0ff5]4Origin: Ryan Oliver
5Upstream Status: Unknown
6Description: This patch adapts some hard-wired paths to the C library.
[84c8190]7 It uses the $prefix variable to locate the correct libc.
[69cde8d]8
[1bf0ff5]9Rediffed: Against 5.10.0 by Joe Ciccone on 2008-08-30
10 Against 5.10.1 By Jim Gifford on 2009-08-25
[c7fdd488]11 Against 5.12.1 By Joe Ciccone on 2010-08-01
[1bf0ff5]12
[c7fdd488]13diff -Naur perl-5.12.1.orig/hints/linux.sh perl-5.12.1/hints/linux.sh
14--- perl-5.12.1.orig/hints/linux.sh 2010-04-26 04:09:20.000000000 -0400
15+++ perl-5.12.1/hints/linux.sh 2010-08-01 18:19:24.558078088 -0400
[1bf0ff5]16@@ -63,9 +63,9 @@
[69cde8d]17 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
18 # are insufficiently precise to distinguish things like
19 # libc-2.0.6 and libc-2.0.7.
20-if test -L /lib/libc.so.6; then
21- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
22- libc=/lib/$libc
23+if test -L ${prefix}/lib/libc.so.6; then
24+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
25+ libc=${prefix}/lib/$libc
26 fi
27
28 # Configure may fail to find lstat() since it's a static/inline
[c7fdd488]29@@ -441,3 +441,8 @@
[7b31c44]30 libswanted="$libswanted pthread"
[69cde8d]31 ;;
32 esac
[84c8190]33+
[69cde8d]34+locincpth=""
35+loclibpth=""
36+glibpth="${prefix}/lib"
[84c8190]37+usrinc="${prefix}/include"
Note: See TracBrowser for help on using the repository browser.