source: patches/perl-5.18.0-libc-1.patch @ a09a3a1

clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since a09a3a1 was a09a3a1, checked in by William Harrington <kb0iic@…>, 11 years ago

Update perl 5.18.0 libc patch.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[a09a3a1]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          Against 5.16.1 by William Harrington on 2012-08-26
14Rename for 5.16.2 by William Harrington on 2012-11-01
15
16Rediffed: Against 5.18.0 by William Harrington on 2013-05-27
17
18diff -Naur perl-5.18.0/hints/linux.sh perl-5.18.0.new/hints/linux.sh
19--- perl-5.18.0/hints/linux.sh  2013-05-27 22:07:36.081174614 +0000
20+++ perl-5.18.0.new/hints/linux.sh      2013-05-01 02:52:55.000000000 +0000
21@@ -66,9 +66,9 @@
22 # We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
23 # are insufficiently precise to distinguish things like
24 # libc-2.0.6 and libc-2.0.7.
25-if test -L ${prefix}/lib/libc.so.6; then
26-    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
27-    libc=${prefix}/lib/$libc
28+if test -L /lib/libc.so.6; then
29+    libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
30+    libc=/lib/$libc
31 fi
32 
33 # Configure may fail to find lstat() since it's a static/inline
34@@ -456,9 +456,3 @@
35     libswanted="$libswanted pthread"
36     ;;
37 esac
38-
39-locincpth=""
40-loclibpth=""
41-glibpth="${prefix}/lib"
42-usrinc="${prefix}/include"
43-
Note: See TracBrowser for help on using the repository browser.