···11+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/Configure perl-5.20.0/Configure
22+--- perl-5.20.0-orig/Configure 2014-05-26 15:34:18.000000000 +0200
33++++ perl-5.20.0/Configure 2014-06-25 10:43:35.368285986 +0200
44+@@ -106,15 +106,7 @@
55+ fi
66+77+ : Proper PATH setting
88+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
99+-paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin"
1010+-paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
1111+-paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
1212+-paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
1313+-paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /opt/ansic/bin /usr/ccs/bin"
1414+-paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib"
1515+-paths="$paths /sbin /usr/sbin /usr/libexec"
1616+-paths="$paths /system/gnu_library/bin"
1717++paths=''
1818+1919+ for p in $paths
2020+ do
2121+@@ -1337,8 +1329,7 @@
2222+ archname=''
2323+ : Possible local include directories to search.
2424+ : Set locincpth to "" in a hint file to defeat local include searches.
2525+-locincpth="/usr/local/include /opt/local/include /usr/gnu/include"
2626+-locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include"
2727++locincpth=""
2828+ :
2929+ : no include file wanted by default
3030+ inclwanted=''
3131+@@ -1349,17 +1340,12 @@
3232+3333+ libnames=''
3434+ : change the next line if compiling for Xenix/286 on Xenix/386
3535+-xlibpth='/usr/lib/386 /lib/386'
3636++xlibpth=''
3737+ : Possible local library directories to search.
3838+-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
3939+-loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
4040++loclibpth=""
4141+4242+ : general looking path for locating libraries
4343+-glibpth="/lib /usr/lib $xlibpth"
4444+-glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
4545+-test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
4646+-test -f /shlib/libc.so && glibpth="/shlib $glibpth"
4747+-test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
4848++glibpth=""
4949+5050+ : Private path used by Configure to find libraries. Its value
5151+ : is prepended to libpth. This variable takes care of special
5252+@@ -1391,8 +1377,6 @@
5353+ libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
5454+ : We probably want to search /usr/shlib before most other libraries.
5555+ : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
5656+-glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
5757+-glibpth="/usr/shlib $glibpth"
5858+ : Do not use vfork unless overridden by a hint file.
5959+ usevfork=false
6060+6161+@@ -2446,7 +2430,6 @@
6262+ zip
6363+ "
6464+ pth=`echo $PATH | sed -e "s/$p_/ /g"`
6565+-pth="$pth $sysroot/lib $sysroot/usr/lib"
6666+ for file in $loclist; do
6767+ eval xxx=\$$file
6868+ case "$xxx" in
6969+@@ -4936,7 +4919,7 @@
7070+ : Set private lib path
7171+ case "$plibpth" in
7272+ '') if ./mips; then
7373+- plibpth="$incpath/usr/lib $sysroot/usr/local/lib $sysroot/usr/ccs/lib"
7474++ plibpth="$incpath/usr/lib"
7575+ fi;;
7676+ esac
7777+ case "$libpth" in
7878+@@ -8600,13 +8583,8 @@
7979+ echo " "
8080+ case "$sysman" in
8181+ '')
8282+- syspath='/usr/share/man/man1 /usr/man/man1'
8383+- syspath="$syspath /usr/man/mann /usr/man/manl /usr/man/local/man1"
8484+- syspath="$syspath /usr/man/u_man/man1"
8585+- syspath="$syspath /usr/catman/u_man/man1 /usr/man/l_man/man1"
8686+- syspath="$syspath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
8787+- syspath="$syspath /usr/man/man.L /local/man/man1 /usr/local/man/man1"
8888+- sysman=`./loc . /usr/man/man1 $syspath`
8989++ syspath=''
9090++ sysman=''
9191+ ;;
9292+ esac
9393+ if $test -d "$sysman"; then
9494+@@ -19900,9 +19878,10 @@
9595+ case "$full_ar" in
9696+ '') full_ar=$ar ;;
9797+ esac
9898++full_ar=ar
9999+100100+ : Store the full pathname to the sed program for use in the C program
101101+-full_sed=$sed
102102++full_sed=sed
103103+104104+ : see what type gids are declared as in the kernel
105105+ echo " "
106106+Only in perl-5.20.0/: Configure.orig
107107+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/ext/Errno/Errno_pm.PL perl-5.20.0/ext/Errno/Errno_pm.PL
108108+--- perl-5.20.0-orig/ext/Errno/Errno_pm.PL 2014-05-26 15:34:20.000000000 +0200
109109++++ perl-5.20.0/ext/Errno/Errno_pm.PL 2014-06-25 10:31:24.317970047 +0200
110110+@@ -126,11 +126,7 @@
111111+ if ($dep =~ /(\S+errno\.h)/) {
112112+ $file{$1} = 1;
113113+ }
114114+- } elsif ($^O eq 'linux' &&
115115+- $Config{gccversion} ne '' &&
116116+- $Config{gccversion} !~ /intel/i
117117+- # might be using, say, Intel's icc
118118+- ) {
119119++ } elsif (0) {
120120+ # When cross-compiling we may store a path for gcc's "sysroot" option:
121121+ my $sysroot = $Config{sysroot} || '';
122122+ # Some Linuxes have weird errno.hs which generate
123123+Only in perl-5.20.0/ext/Errno: Errno_pm.PL.orig
124124+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/freebsd.sh perl-5.20.0/hints/freebsd.sh
125125+--- perl-5.20.0-orig/hints/freebsd.sh 2014-01-31 22:55:51.000000000 +0100
126126++++ perl-5.20.0/hints/freebsd.sh 2014-06-25 10:25:53.263964680 +0200
127127+@@ -119,21 +119,21 @@
128128+ objformat=`/usr/bin/objformat`
129129+ if [ x$objformat = xaout ]; then
130130+ if [ -e /usr/lib/aout ]; then
131131+- libpth="/usr/lib/aout /usr/local/lib /usr/lib"
132132+- glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
133133++ libpth=""
134134++ glibpth=""
135135+ fi
136136+ lddlflags='-Bshareable'
137137+ else
138138+- libpth="/usr/lib /usr/local/lib"
139139+- glibpth="/usr/lib /usr/local/lib"
140140++ libpth=""
141141++ glibpth=""
142142+ ldflags="-Wl,-E "
143143+ lddlflags="-shared "
144144+ fi
145145+ cccdlflags='-DPIC -fPIC'
146146+ ;;
147147+ *)
148148+- libpth="/usr/lib /usr/local/lib"
149149+- glibpth="/usr/lib /usr/local/lib"
150150++ libpth=""
151151++ glibpth=""
152152+ ldflags="-Wl,-E "
153153+ lddlflags="-shared "
154154+ cccdlflags='-DPIC -fPIC'
155155+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/linux.sh perl-5.20.0/hints/linux.sh
156156+--- perl-5.20.0-orig/hints/linux.sh 2014-05-26 15:34:20.000000000 +0200
157157++++ perl-5.20.0/hints/linux.sh 2014-06-25 10:33:47.354883843 +0200
158158+@@ -150,25 +150,6 @@
159159+ ;;
160160+ esac
161161+162162+-# Ubuntu 11.04 (and later, presumably) doesn't keep most libraries
163163+-# (such as -lm) in /lib or /usr/lib. So we have to ask gcc to tell us
164164+-# where to look. We don't want gcc's own libraries, however, so we
165165+-# filter those out.
166166+-# This could be conditional on Unbuntu, but other distributions may
167167+-# follow suit, and this scheme seems to work even on rather old gcc's.
168168+-# This unconditionally uses gcc because even if the user is using another
169169+-# compiler, we still need to find the math library and friends, and I don't
170170+-# know how other compilers will cope with that situation.
171171+-# Morever, if the user has their own gcc earlier in $PATH than the system gcc,
172172+-# we don't want its libraries. So we try to prefer the system gcc
173173+-# Still, as an escape hatch, allow Configure command line overrides to
174174+-# plibpth to bypass this check.
175175+-if [ -x /usr/bin/gcc ] ; then
176176+- gcc=/usr/bin/gcc
177177+-else
178178+- gcc=gcc
179179+-fi
180180+-
181181+ case "$plibpth" in
182182+ '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries |
183183+ cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
184184+@@ -178,32 +159,6 @@
185185+ ;;
186186+ esac
187187+188188+-case "$libc" in
189189+-'')
190190+-# If you have glibc, then report the version for ./myconfig bug reporting.
191191+-# (Configure doesn't need to know the specific version since it just uses
192192+-# gcc to load the library for all tests.)
193193+-# We don't use __GLIBC__ and __GLIBC_MINOR__ because they
194194+-# are insufficiently precise to distinguish things like
195195+-# libc-2.0.6 and libc-2.0.7.
196196+- for p in $plibpth
197197+- do
198198+- for trylib in libc.so.6 libc.so
199199+- do
200200+- if $test -e $p/$trylib; then
201201+- libc=`ls -l $p/$trylib | awk '{print $NF}'`
202202+- if $test "X$libc" != X; then
203203+- break
204204+- fi
205205+- fi
206206+- done
207207+- if $test "X$libc" != X; then
208208+- break
209209+- fi
210210+- done
211211+- ;;
212212+-esac
213213+-
214214+ if ${sh:-/bin/sh} -c exit; then
215215+ echo ''
216216+ echo 'You appear to have a working bash. Good.'
217217+@@ -367,33 +322,6 @@
218218+ ;;
219219+ esac
220220+221221+-# SuSE8.2 has /usr/lib/libndbm* which are ld scripts rather than
222222+-# true libraries. The scripts cause binding against static
223223+-# version of -lgdbm which is a bad idea. So if we have 'nm'
224224+-# make sure it can read the file
225225+-# NI-S 2003/08/07
226226+-case "$nm" in
227227+- '') ;;
228228+- *)
229229+- for p in $plibpth
230230+- do
231231+- if $test -r $p/libndbm.so; then
232232+- if $nm $p/libndbm.so >/dev/null 2>&1 ; then
233233+- echo 'Your shared -lndbm seems to be a real library.'
234234+- _libndbm_real=1
235235+- break
236236+- fi
237237+- fi
238238+- done
239239+- if $test "X$_libndbm_real" = X; then
240240+- echo 'Your shared -lndbm is not a real library.'
241241+- set `echo X "$libswanted "| sed -e 's/ ndbm / /'`
242242+- shift
243243+- libswanted="$*"
244244+- fi
245245+- ;;
246246+-esac
247247+-
248248+ # Linux on Synology.
249249+ if [ -f /etc/synoinfo.conf -a -d /usr/syno ]; then
250250+ # Tested on Synology DS213 and DS413