summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-26 15:52:48 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-26 15:52:48 +0300
commitc726d9000da4ef6f3815810571041a4883777205 (patch)
treeff4c7b7abddba502b6b2a362e098609e6efed8f2
parentcf9383412494964d6188fcf08a362c0c0f313afc (diff)
downloadperl-c726d9000da4ef6f3815810571041a4883777205.tar.gz
Add debian/patches/dyson-hints.patch
-rw-r--r--debian/patches/dyson-hints.patch34
-rw-r--r--debian/patches/series1
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