source: patches/perl-5.18.2-libc-1.patch@ 15f0ac6

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 15f0ac6 was af2cd26b, checked in by Chris Staub <chris@…>, 11 years ago

Add Perl patches

  • Property mode set to 100644
File size: 1.6 KB
  • hints/linux.sh

    Submitted By: Jonathan Norman <Jonathan at bluesquarelinux.co.uk>
    Date: 2013-08-13
    Initial Package Version: 5.8.8
    Origin: Ryan Oliver
    Upstream Status: Unknown
    Description: This patch adapts some hard-wired paths to the C library.
                 It uses the $prefix variable to locate the correct libc.
    
    Rediffed: Against 5.10.0 by Joe Ciccone on 2008-08-30
              Against 5.10.1 By Jim Gifford on 2009-08-25
              Against 5.12.1 By Joe Ciccone on 2010-08-01
              Against 5.14.0 By Jonathan Norman on 2011-05-17
              Against 5.16.1 by William Harrington on 2012-08-26
    Rename for 5.16.2 by William Harrington on 2012-11-01
    
    Rediffed: Against 5.18.0 by William Harrington on 2013-05-27
    Rediffed: Against 5.18.1 by William Harrington on 2013-08-13
    Rediffed: Against 5.18.2 by Chris Staub on 2014-01-10
    
    diff -Naur perl-5.18.2.orig/hints/linux.sh perl-5.18.2/hints/linux.sh
    old new  
    6666# We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
    6767# are insufficiently precise to distinguish things like
    6868# libc-2.0.6 and libc-2.0.7.
    69 if test -L /lib/libc.so.6; then
    70     libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
    71     libc=/lib/$libc
     69if test -L ${prefix}/lib/libc.so.6; then
     70    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
     71    libc=${prefix}/lib/$libc
    7272fi
    7373
    7474# Configure may fail to find lstat() since it's a static/inline
     
    456456    libswanted="$libswanted pthread"
    457457    ;;
    458458esac
     459
     460locincpth=""
     461loclibpth=""
     462glibpth="${prefix}/lib"
     463usrinc="${prefix}/include"
     464
Note: See TracBrowser for help on using the repository browser.