From c726d9000da4ef6f3815810571041a4883777205 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 26 Nov 2019 15:52:48 +0300 Subject: Add debian/patches/dyson-hints.patch --- debian/patches/dyson-hints.patch | 34 ++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 35 insertions(+) create mode 100644 debian/patches/dyson-hints.patch 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 -- cgit v1.2.3