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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7a6a0d8 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
RevLine 
[69cde8d]1Submitted By: Thomas Pegg <thomasp at linuxfromscratch dot org>
2Date: 2005-10-27
3Initial Package Version: 5.8.7
4Origin: based on perl-5.8.7-libc-1.patch
5Description: this patch adapts some hard-wired paths to the C library and points it to use lib64 instead of lib.
6
7diff -uNr perl-5.8.0.orig/hints/linux.sh perl-5.8.0/hints/linux.sh
8--- perl-5.8.0.orig/hints/linux.sh 2002-06-05 23:46:00.000000000 +1000
9+++ perl-5.8.0/hints/linux.sh 2003-02-19 16:32:18.000000000 +1100
10@@ -51,9 +51,9 @@
11 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
12 # are insufficiently precise to distinguish things like
13 # libc-2.0.6 and libc-2.0.7.
14-if test -L /lib/libc.so.6; then
15- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
16- libc=/lib/$libc
17+if test -L /lib64/libc.so.6; then
18+ libc=`ls -l /lib64/libc.so.6 | awk '{print $NF}'`
19+ libc=/lib64/$libc
20 fi
21
22 # Configure may fail to find lstat() since it's a static/inline
Note: See TracBrowser for help on using the repository browser.