source: patches/perl-5.8.8-libc_lib64-1.patch@ f4f631d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f4f631d was 69cde8d, checked in by Jim Gifford <clfs@…>, 19 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
File size: 929 bytes
  • hints/linux.sh

    Submitted By: Thomas Pegg <thomasp at linuxfromscratch dot org>
    Date: 2005-10-27
    Initial Package Version: 5.8.7
    Origin: based on perl-5.8.7-libc-1.patch 
    Description: this patch adapts some hard-wired paths to the C library and points it to use lib64 instead of lib.
    
    diff -uNr perl-5.8.0.orig/hints/linux.sh perl-5.8.0/hints/linux.sh
    old new  
    5151# We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
    5252# are insufficiently precise to distinguish things like
    5353# libc-2.0.6 and libc-2.0.7.
    54 if test -L /lib/libc.so.6; then
    55     libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
    56     libc=/lib/$libc
     54if test -L /lib64/libc.so.6; then
     55    libc=`ls -l /lib64/libc.so.6 | awk '{print $NF}'`
     56    libc=/lib64/$libc
    5757fi
    5858
    5959# Configure may fail to find lstat() since it's a static/inline
Note: See TracBrowser for help on using the repository browser.