source: patches/perl-5.14.0-libc-1.patch@ 0f48af0b

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0f48af0b was 279277d, checked in by Jonathan Norman <jon@…>, 14 years ago

Rediffed patches for coreutils and perl

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

    Submitted By: Jonathan Norman <Jonathan at bluesquarelinux.co.uk>
    Date: 2011-05-17
    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
    
    diff -Naur perl-5.14.0.orig/hints/linux.sh perl-5.14.0/hints/linux.sh
    old new  
    6363# We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
    6464# are insufficiently precise to distinguish things like
    6565# libc-2.0.6 and libc-2.0.7.
    66 if test -L /lib/libc.so.6; then
    67     libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
    68     libc=/lib/$libc
     66if test -L ${prefix}/lib/libc.so.6; then
     67    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
     68    libc=${prefix}/lib/$libc
    6969fi
    7070
    7171# Configure may fail to find lstat() since it's a static/inline
     
    461461    libswanted="$libswanted pthread"
    462462    ;;
    463463esac
     464
     465locincpth=""
     466loclibpth=""
     467glibpth="${prefix}/lib"
     468usrinc="${prefix}/include"
     469
Note: See TracBrowser for help on using the repository browser.