- Timestamp:
- May 29, 2013, 6:57:56 AM (11 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- cf67cf8
- Parents:
- 7b0c0669
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
patches/perl-5.18.0-libc-1.patch
r7b0c0669 r683fec6 16 16 Rediffed: Against 5.18.0 by William Harrington on 2013-05-27 17 17 18 diff -Naur perl-5.18.0 /hints/linux.sh perl-5.18.0.new/hints/linux.sh19 --- perl-5.18.0 /hints/linux.sh 2013-05-27 22:07:36.081174614+000020 +++ perl-5.18.0 .new/hints/linux.sh 2013-05-01 02:52:55.000000000+000018 diff -Naur perl-5.18.0.orig/hints/linux.sh perl-5.18.0/hints/linux.sh 19 --- perl-5.18.0.orig/hints/linux.sh 2013-05-01 02:52:55.000000000 +0000 20 +++ perl-5.18.0/hints/linux.sh 2013-05-29 13:55:42.871771313 +0000 21 21 @@ -66,9 +66,9 @@ 22 22 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they 23 23 # are insufficiently precise to distinguish things like 24 24 # libc-2.0.6 and libc-2.0.7. 25 -if test -L ${prefix}/lib/libc.so.6; then26 - libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`27 - libc= ${prefix}/lib/$libc28 +if test -L /lib/libc.so.6; then29 + libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`30 + libc= /lib/$libc25 -if test -L /lib/libc.so.6; then 26 - libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'` 27 - libc=/lib/$libc 28 +if test -L ${prefix}/lib/libc.so.6; then 29 + libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'` 30 + libc=${prefix}/lib/$libc 31 31 fi 32 32 33 33 # Configure may fail to find lstat() since it's a static/inline 34 @@ -456, 9 +456,3@@34 @@ -456,3 +456,9 @@ 35 35 libswanted="$libswanted pthread" 36 36 ;; 37 37 esac 38 - 39 -locincpth=""40 -loclibpth=""41 -glibpth="${prefix}/lib"42 -usrinc="${prefix}/include"43 - 38 + 39 +locincpth="" 40 +loclibpth="" 41 +glibpth="${prefix}/lib" 42 +usrinc="${prefix}/include" 43 +
Note:
See TracChangeset
for help on using the changeset viewer.