diff options
Diffstat (limited to 'debian/patches/dyson-hints.patch')
-rw-r--r-- | debian/patches/dyson-hints.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/dyson-hints.patch b/debian/patches/dyson-hints.patch new file mode 100644 index 0000000..bcd5b19 --- /dev/null +++ b/debian/patches/dyson-hints.patch @@ -0,0 +1,34 @@ +Index: perl-5.20.1/hints/solaris_2.sh +=================================================================== +--- perl-5.20.1.orig/hints/solaris_2.sh ++++ perl-5.20.1/hints/solaris_2.sh +@@ -63,6 +63,11 @@ esac + set `echo " $libswanted " | sed -e 's@ ld @ @' -e 's@ malloc @ @' -e 's@ ucb @ @' -e 's@ sec @ @' -e 's@ crypt @ @'` + libswanted="$*" + ++# Dyson: these libs are filters to libc (until switch to glibc ;-): ++set `echo " $libswanted " | sed -e 's@ dl @ @' -e 's@ pthread @ @'` ++libswanted="$*" ++libswanted="$libswanted socket nsl resolv" ++ + # Look for architecture name. We want to suggest a useful default. + case "$archname" in + '') +@@ -201,6 +206,17 @@ END + fi + rm -f make.vers + ++ ++case "$plibpth" in ++'') plibpth=`gcc -print-search-dirs | grep libraries | ++ cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'` ++ set X $plibpth # Collapse all entries on one line ++ shift ++ plibpth="$*" ++ ;; ++esac ++ ++ + cat > UU/cc.cbu <<'EOCBU' + # This script UU/cc.cbu will get 'called-back' by Configure after it + # has prompted the user for the C compiler to use. |