···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+@@ -134,12 +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+- $linux_errno_h
119119+- ) {
120120++ } elsif (0) {
121121+ $file{$linux_errno_h} = 1;
122122+ } elsif ($^O eq 'haiku') {
123123+ # hidden in a special place
124124+Only in perl-5.20.0/ext/Errno: Errno_pm.PL.orig
125125+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/freebsd.sh perl-5.20.0/hints/freebsd.sh
126126+--- perl-5.20.0-orig/hints/freebsd.sh 2014-01-31 22:55:51.000000000 +0100
127127++++ perl-5.20.0/hints/freebsd.sh 2014-06-25 10:25:53.263964680 +0200
128128+@@ -119,21 +119,21 @@
129129+ objformat=`/usr/bin/objformat`
130130+ if [ x$objformat = xaout ]; then
131131+ if [ -e /usr/lib/aout ]; then
132132+- libpth="/usr/lib/aout /usr/local/lib /usr/lib"
133133+- glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
134134++ libpth=""
135135++ glibpth=""
136136+ fi
137137+ lddlflags='-Bshareable'
138138+ else
139139+- libpth="/usr/lib /usr/local/lib"
140140+- glibpth="/usr/lib /usr/local/lib"
141141++ libpth=""
142142++ glibpth=""
143143+ ldflags="-Wl,-E "
144144+ lddlflags="-shared "
145145+ fi
146146+ cccdlflags='-DPIC -fPIC'
147147+ ;;
148148+ *)
149149+- libpth="/usr/lib /usr/local/lib"
150150+- glibpth="/usr/lib /usr/local/lib"
151151++ libpth=""
152152++ glibpth=""
153153+ ldflags="-Wl,-E "
154154+ lddlflags="-shared "
155155+ cccdlflags='-DPIC -fPIC'
156156+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/linux.sh perl-5.20.0/hints/linux.sh
157157+--- perl-5.20.0-orig/hints/linux.sh 2014-05-26 15:34:20.000000000 +0200
158158++++ perl-5.20.0/hints/linux.sh 2014-06-25 10:33:47.354883843 +0200
159159+@@ -150,28 +150,6 @@ case "$optimize" in
160160+ ;;
161161+ esac
162162+163163+-# Ubuntu 11.04 (and later, presumably) doesn't keep most libraries
164164+-# (such as -lm) in /lib or /usr/lib. So we have to ask gcc to tell us
165165+-# where to look. We don't want gcc's own libraries, however, so we
166166+-# filter those out.
167167+-# This could be conditional on Unbuntu, but other distributions may
168168+-# follow suit, and this scheme seems to work even on rather old gcc's.
169169+-# This unconditionally uses gcc because even if the user is using another
170170+-# compiler, we still need to find the math library and friends, and I don't
171171+-# know how other compilers will cope with that situation.
172172+-# Morever, if the user has their own gcc earlier in $PATH than the system gcc,
173173+-# we don't want its libraries. So we try to prefer the system gcc
174174+-# Still, as an escape hatch, allow Configure command line overrides to
175175+-# plibpth to bypass this check.
176176+-if [ -x /usr/bin/gcc ] ; then
177177+- gcc=/usr/bin/gcc
178178+-# clang also provides -print-search-dirs
179179+-elif ${cc:-cc} --version 2>/dev/null | grep -q '^clang ' ; then
180180+- gcc=${cc:-cc}
181181+-else
182182+- gcc=gcc
183183+-fi
184184+-
185185+ case "$plibpth" in
186186+ '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries |
187187+ cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
188188+@@ -208,32 +186,6 @@ case "$usequadmath" in
189189+ ;;
190190+ esac
191191+192192+-case "$libc" in
193193+-'')
194194+-# If you have glibc, then report the version for ./myconfig bug reporting.
195195+-# (Configure doesn't need to know the specific version since it just uses
196196+-# gcc to load the library for all tests.)
197197+-# We don't use __GLIBC__ and __GLIBC_MINOR__ because they
198198+-# are insufficiently precise to distinguish things like
199199+-# libc-2.0.6 and libc-2.0.7.
200200+- for p in $plibpth
201201+- do
202202+- for trylib in libc.so.6 libc.so
203203+- do
204204+- if $test -e $p/$trylib; then
205205+- libc=`ls -l $p/$trylib | awk '{print $NF}'`
206206+- if $test "X$libc" != X; then
207207+- break
208208+- fi
209209+- fi
210210+- done
211211+- if $test "X$libc" != X; then
212212+- break
213213+- fi
214214+- done
215215+- ;;
216216+-esac
217217+-
218218+ if ${sh:-/bin/sh} -c exit; then
219219+ echo ''
220220+ echo 'You appear to have a working bash. Good.'
221221+@@ -311,33 +263,6 @@ sparc*)
222222+ ;;
223223+ esac
224224+225225+-# SuSE8.2 has /usr/lib/libndbm* which are ld scripts rather than
226226+-# true libraries. The scripts cause binding against static
227227+-# version of -lgdbm which is a bad idea. So if we have 'nm'
228228+-# make sure it can read the file
229229+-# NI-S 2003/08/07
230230+-case "$nm" in
231231+- '') ;;
232232+- *)
233233+- for p in $plibpth
234234+- do
235235+- if $test -r $p/libndbm.so; then
236236+- if $nm $p/libndbm.so >/dev/null 2>&1 ; then
237237+- echo 'Your shared -lndbm seems to be a real library.'
238238+- _libndbm_real=1
239239+- break
240240+- fi
241241+- fi
242242+- done
243243+- if $test "X$_libndbm_real" = X; then
244244+- echo 'Your shared -lndbm is not a real library.'
245245+- set `echo X "$libswanted "| sed -e 's/ ndbm / /'`
246246+- shift
247247+- libswanted="$*"
248248+- fi
249249+- ;;
250250+-esac
251251+-
252252+ # Linux on Synology.
253253+ if [ -f /etc/synoinfo.conf -a -d /usr/syno ]; then
254254+ # Tested on Synology DS213 and DS413