Changeset 683fec6


Ignore:
Timestamp:
May 29, 2013, 6:57:56 AM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
cf67cf8
Parents:
7b0c0669
Message:

Fix perl 5.18.0 libc patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • patches/perl-5.18.0-libc-1.patch

    r7b0c0669 r683fec6  
    1616Rediffed: Against 5.18.0 by William Harrington on 2013-05-27
    1717
    18 diff -Naur perl-5.18.0/hints/linux.sh perl-5.18.0.new/hints/linux.sh
    19 --- perl-5.18.0/hints/linux.sh  2013-05-27 22:07:36.081174614 +0000
    20 +++ perl-5.18.0.new/hints/linux.sh      2013-05-01 02:52:55.000000000 +0000
     18diff -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
    2121@@ -66,9 +66,9 @@
    2222 # We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
    2323 # are insufficiently precise to distinguish things like
    2424 # libc-2.0.6 and libc-2.0.7.
    25 -if test -L ${prefix}/lib/libc.so.6; then
    26 -    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
    27 -    libc=${prefix}/lib/$libc
    28 +if test -L /lib/libc.so.6; then
    29 +    libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
    30 +    libc=/lib/$libc
     25-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
    3131 fi
    3232 
    3333 # Configure may fail to find lstat() since it's a static/inline
    34 @@ -456,9 +456,3 @@
     34@@ -456,3 +456,9 @@
    3535     libswanted="$libswanted pthread"
    3636     ;;
    3737 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.