source: patches/perl-5.18.1-libc-1.patch@ cd92167

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cd92167 was 7bfa76b, checked in by William Harrington <kb0iic@…>, 11 years ago

Update perl to 5.18.1.

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[a09a3a1]1Submitted By: Jonathan Norman <Jonathan at bluesquarelinux.co.uk>
[7bfa76b]2Date: 2013-08-13
[a09a3a1]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
[7bfa76b]17Rediffed: Against 5.18.1 by William Harrington on 2013-08-13
[a09a3a1]18
[7bfa76b]19diff -Naur perl-5.18.1.orig/hints/linux.sh perl-5.18.1/hints/linux.sh
20--- perl-5.18.1.orig/hints/linux.sh 2013-08-12 02:44:48.000000000 +0000
21+++ perl-5.18.1/hints/linux.sh 2013-08-13 16:46:38.594653439 +0000
[a09a3a1]22@@ -66,9 +66,9 @@
23 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
24 # are insufficiently precise to distinguish things like
25 # libc-2.0.6 and libc-2.0.7.
[683fec6]26-if test -L /lib/libc.so.6; then
27- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
28- libc=/lib/$libc
29+if test -L ${prefix}/lib/libc.so.6; then
30+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
31+ libc=${prefix}/lib/$libc
[a09a3a1]32 fi
33
34 # Configure may fail to find lstat() since it's a static/inline
[683fec6]35@@ -456,3 +456,9 @@
[a09a3a1]36 libswanted="$libswanted pthread"
37 ;;
38 esac
[683fec6]39+
40+locincpth=""
41+loclibpth=""
42+glibpth="${prefix}/lib"
43+usrinc="${prefix}/include"
44+
Note: See TracBrowser for help on using the repository browser.