diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-26 15:52:48 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-26 15:52:48 +0300 |
commit | c726d9000da4ef6f3815810571041a4883777205 (patch) | |
tree | ff4c7b7abddba502b6b2a362e098609e6efed8f2 | |
parent | cf9383412494964d6188fcf08a362c0c0f313afc (diff) | |
download | perl-c726d9000da4ef6f3815810571041a4883777205.tar.gz |
Add debian/patches/dyson-hints.patch
-rw-r--r-- | debian/patches/dyson-hints.patch | 34 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 35 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. diff --git a/debian/patches/series b/debian/patches/series index c31c904..de620f9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -44,3 +44,4 @@ debian/disable-stack-check.diff fixes/eumm-usrmerge.diff debian/perlbug-editor.diff fixes/gid-parsing.diff +dyson-hints.patch |