Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 254 lines 8.8 kB view raw
1diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/Configure perl-5.20.0/Configure 2--- perl-5.20.0-orig/Configure 2014-05-26 15:34:18.000000000 +0200 3+++ perl-5.20.0/Configure 2014-06-25 10:43:35.368285986 +0200 4@@ -106,15 +106,7 @@ 5 fi 6 7 : Proper PATH setting 8-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin' 9-paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin" 10-paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin" 11-paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin" 12-paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb" 13-paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /opt/ansic/bin /usr/ccs/bin" 14-paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib" 15-paths="$paths /sbin /usr/sbin /usr/libexec" 16-paths="$paths /system/gnu_library/bin" 17+paths='' 18 19 for p in $paths 20 do 21@@ -1337,8 +1329,7 @@ 22 archname='' 23 : Possible local include directories to search. 24 : Set locincpth to "" in a hint file to defeat local include searches. 25-locincpth="/usr/local/include /opt/local/include /usr/gnu/include" 26-locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include" 27+locincpth="" 28 : 29 : no include file wanted by default 30 inclwanted='' 31@@ -1349,17 +1340,12 @@ 32 33 libnames='' 34 : change the next line if compiling for Xenix/286 on Xenix/386 35-xlibpth='/usr/lib/386 /lib/386' 36+xlibpth='' 37 : Possible local library directories to search. 38-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib" 39-loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" 40+loclibpth="" 41 42 : general looking path for locating libraries 43-glibpth="/lib /usr/lib $xlibpth" 44-glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" 45-test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" 46-test -f /shlib/libc.so && glibpth="/shlib $glibpth" 47-test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64" 48+glibpth="" 49 50 : Private path used by Configure to find libraries. Its value 51 : is prepended to libpth. This variable takes care of special 52@@ -1391,8 +1377,6 @@ 53 libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD" 54 : We probably want to search /usr/shlib before most other libraries. 55 : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. 56-glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'` 57-glibpth="/usr/shlib $glibpth" 58 : Do not use vfork unless overridden by a hint file. 59 usevfork=false 60 61@@ -2446,7 +2430,6 @@ 62 zip 63 " 64 pth=`echo $PATH | sed -e "s/$p_/ /g"` 65-pth="$pth $sysroot/lib $sysroot/usr/lib" 66 for file in $loclist; do 67 eval xxx=\$$file 68 case "$xxx" in 69@@ -4936,7 +4919,7 @@ 70 : Set private lib path 71 case "$plibpth" in 72 '') if ./mips; then 73- plibpth="$incpath/usr/lib $sysroot/usr/local/lib $sysroot/usr/ccs/lib" 74+ plibpth="$incpath/usr/lib" 75 fi;; 76 esac 77 case "$libpth" in 78@@ -8600,13 +8583,8 @@ 79 echo " " 80 case "$sysman" in 81 '') 82- syspath='/usr/share/man/man1 /usr/man/man1' 83- syspath="$syspath /usr/man/mann /usr/man/manl /usr/man/local/man1" 84- syspath="$syspath /usr/man/u_man/man1" 85- syspath="$syspath /usr/catman/u_man/man1 /usr/man/l_man/man1" 86- syspath="$syspath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1" 87- syspath="$syspath /usr/man/man.L /local/man/man1 /usr/local/man/man1" 88- sysman=`./loc . /usr/man/man1 $syspath` 89+ syspath='' 90+ sysman='' 91 ;; 92 esac 93 if $test -d "$sysman"; then 94@@ -19900,9 +19878,10 @@ 95 case "$full_ar" in 96 '') full_ar=$ar ;; 97 esac 98+full_ar=ar 99 100 : Store the full pathname to the sed program for use in the C program 101-full_sed=$sed 102+full_sed=sed 103 104 : see what type gids are declared as in the kernel 105 echo " " 106Only in perl-5.20.0/: Configure.orig 107diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/ext/Errno/Errno_pm.PL perl-5.20.0/ext/Errno/Errno_pm.PL 108--- perl-5.20.0-orig/ext/Errno/Errno_pm.PL 2014-05-26 15:34:20.000000000 +0200 109+++ perl-5.20.0/ext/Errno/Errno_pm.PL 2014-06-25 10:31:24.317970047 +0200 110@@ -134,12 +126,7 @@ 111 if ($dep =~ /(\S+errno\.h)/) { 112 $file{$1} = 1; 113 } 114- } elsif ($^O eq 'linux' && 115- $Config{gccversion} ne '' && 116- $Config{gccversion} !~ /intel/i && 117- # might be using, say, Intel's icc 118- $linux_errno_h 119- ) { 120+ } elsif (0) { 121 $file{$linux_errno_h} = 1; 122 } elsif ($^O eq 'haiku') { 123 # hidden in a special place 124Only in perl-5.20.0/ext/Errno: Errno_pm.PL.orig 125diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/freebsd.sh perl-5.20.0/hints/freebsd.sh 126--- perl-5.20.0-orig/hints/freebsd.sh 2014-01-31 22:55:51.000000000 +0100 127+++ perl-5.20.0/hints/freebsd.sh 2014-06-25 10:25:53.263964680 +0200 128@@ -119,21 +119,21 @@ 129 objformat=`/usr/bin/objformat` 130 if [ x$objformat = xaout ]; then 131 if [ -e /usr/lib/aout ]; then 132- libpth="/usr/lib/aout /usr/local/lib /usr/lib" 133- glibpth="/usr/lib/aout /usr/local/lib /usr/lib" 134+ libpth="" 135+ glibpth="" 136 fi 137 lddlflags='-Bshareable' 138 else 139- libpth="/usr/lib /usr/local/lib" 140- glibpth="/usr/lib /usr/local/lib" 141+ libpth="" 142+ glibpth="" 143 ldflags="-Wl,-E " 144 lddlflags="-shared " 145 fi 146 cccdlflags='-DPIC -fPIC' 147 ;; 148 *) 149- libpth="/usr/lib /usr/local/lib" 150- glibpth="/usr/lib /usr/local/lib" 151+ libpth="" 152+ glibpth="" 153 ldflags="-Wl,-E " 154 lddlflags="-shared " 155 cccdlflags='-DPIC -fPIC' 156diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/linux.sh perl-5.20.0/hints/linux.sh 157--- perl-5.20.0-orig/hints/linux.sh 2014-05-26 15:34:20.000000000 +0200 158+++ perl-5.20.0/hints/linux.sh 2014-06-25 10:33:47.354883843 +0200 159@@ -150,28 +150,6 @@ case "$optimize" in 160 ;; 161 esac 162 163-# Ubuntu 11.04 (and later, presumably) doesn't keep most libraries 164-# (such as -lm) in /lib or /usr/lib. So we have to ask gcc to tell us 165-# where to look. We don't want gcc's own libraries, however, so we 166-# filter those out. 167-# This could be conditional on Unbuntu, but other distributions may 168-# follow suit, and this scheme seems to work even on rather old gcc's. 169-# This unconditionally uses gcc because even if the user is using another 170-# compiler, we still need to find the math library and friends, and I don't 171-# know how other compilers will cope with that situation. 172-# Morever, if the user has their own gcc earlier in $PATH than the system gcc, 173-# we don't want its libraries. So we try to prefer the system gcc 174-# Still, as an escape hatch, allow Configure command line overrides to 175-# plibpth to bypass this check. 176-if [ -x /usr/bin/gcc ] ; then 177- gcc=/usr/bin/gcc 178-# clang also provides -print-search-dirs 179-elif ${cc:-cc} --version 2>/dev/null | grep -q '^clang ' ; then 180- gcc=${cc:-cc} 181-else 182- gcc=gcc 183-fi 184- 185 case "$plibpth" in 186 '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries | 187 cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'` 188@@ -208,32 +186,6 @@ case "$usequadmath" in 189 ;; 190 esac 191 192-case "$libc" in 193-'') 194-# If you have glibc, then report the version for ./myconfig bug reporting. 195-# (Configure doesn't need to know the specific version since it just uses 196-# gcc to load the library for all tests.) 197-# We don't use __GLIBC__ and __GLIBC_MINOR__ because they 198-# are insufficiently precise to distinguish things like 199-# libc-2.0.6 and libc-2.0.7. 200- for p in $plibpth 201- do 202- for trylib in libc.so.6 libc.so 203- do 204- if $test -e $p/$trylib; then 205- libc=`ls -l $p/$trylib | awk '{print $NF}'` 206- if $test "X$libc" != X; then 207- break 208- fi 209- fi 210- done 211- if $test "X$libc" != X; then 212- break 213- fi 214- done 215- ;; 216-esac 217- 218 if ${sh:-/bin/sh} -c exit; then 219 echo '' 220 echo 'You appear to have a working bash. Good.' 221@@ -311,33 +263,6 @@ sparc*) 222 ;; 223 esac 224 225-# SuSE8.2 has /usr/lib/libndbm* which are ld scripts rather than 226-# true libraries. The scripts cause binding against static 227-# version of -lgdbm which is a bad idea. So if we have 'nm' 228-# make sure it can read the file 229-# NI-S 2003/08/07 230-case "$nm" in 231- '') ;; 232- *) 233- for p in $plibpth 234- do 235- if $test -r $p/libndbm.so; then 236- if $nm $p/libndbm.so >/dev/null 2>&1 ; then 237- echo 'Your shared -lndbm seems to be a real library.' 238- _libndbm_real=1 239- break 240- fi 241- fi 242- done 243- if $test "X$_libndbm_real" = X; then 244- echo 'Your shared -lndbm is not a real library.' 245- set `echo X "$libswanted "| sed -e 's/ ndbm / /'` 246- shift 247- libswanted="$*" 248- fi 249- ;; 250-esac 251- 252 # Linux on Synology. 253 if [ -f /etc/synoinfo.conf -a -d /usr/syno ]; then 254 # Tested on Synology DS213 and DS413