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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f5706e7 was 683fec6, checked in by William Harrington <kb0iic@…>, 11 years ago

Fix 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
[683fec6]18diff -Naur perl-5.18.0.orig/hints/linux.sh perl-5.18.0/hints/linux.sh
19--- perl-5.18.0.orig/hints/linux.sh 2013-05-01 02:52:55.000000000 +0000
20+++ perl-5.18.0/hints/linux.sh 2013-05-29 13:55:42.871771313 +0000
[a09a3a1]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.
[683fec6]25-if test -L /lib/libc.so.6; then
26- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
27- libc=/lib/$libc
28+if test -L ${prefix}/lib/libc.so.6; then
29+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
30+ libc=${prefix}/lib/$libc
[a09a3a1]31 fi
32
33 # Configure may fail to find lstat() since it's a static/inline
[683fec6]34@@ -456,3 +456,9 @@
[a09a3a1]35 libswanted="$libswanted pthread"
36 ;;
37 esac
[683fec6]38+
39+locincpth=""
40+loclibpth=""
41+glibpth="${prefix}/lib"
42+usrinc="${prefix}/include"
43+
Note: See TracBrowser for help on using the repository browser.