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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cfb2026a 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
RevLine 
[279277d]1Submitted By: Jonathan Norman <Jonathan at bluesquarelinux.co.uk>
2Date: 2011-05-17
3Initial Package Version: 5.8.8
4Origin: Ryan Oliver
5Upstream Status: Unknown
6Description: This patch adapts some hard-wired paths to the C library.
7 It uses the $prefix variable to locate the correct libc.
8
9Rediffed: Against 5.10.0 by Joe Ciccone on 2008-08-30
10 Against 5.10.1 By Jim Gifford on 2009-08-25
11 Against 5.12.1 By Joe Ciccone on 2010-08-01
12 Against 5.14.0 By Jonathan Norman on 2011-05-17
13
14diff -Naur perl-5.14.0.orig/hints/linux.sh perl-5.14.0/hints/linux.sh
15--- perl-5.14.0.orig/hints/linux.sh 2011-05-17 10:15:25.836817125 +0000
16+++ perl-5.14.0/hints/linux.sh 2011-05-17 10:17:15.472650338 +0000
17@@ -63,9 +63,9 @@
18 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
19 # are insufficiently precise to distinguish things like
20 # libc-2.0.6 and libc-2.0.7.
21-if test -L /lib/libc.so.6; then
22- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
23- libc=/lib/$libc
24+if test -L ${prefix}/lib/libc.so.6; then
25+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
26+ libc=${prefix}/lib/$libc
27 fi
28
29 # Configure may fail to find lstat() since it's a static/inline
30@@ -461,3 +461,9 @@
31 libswanted="$libswanted pthread"
32 ;;
33 esac
34+
35+locincpth=""
36+loclibpth=""
37+glibpth="${prefix}/lib"
38+usrinc="${prefix}/include"
39+
Note: See TracBrowser for help on using the repository browser.