summaryrefslogtreecommitdiff
path: root/debian/patches/debian/configure-regen.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/configure-regen.diff')
-rw-r--r--debian/patches/debian/configure-regen.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/debian/configure-regen.diff b/debian/patches/debian/configure-regen.diff
new file mode 100644
index 0000000..b910221
--- /dev/null
+++ b/debian/patches/debian/configure-regen.diff
@@ -0,0 +1,32 @@
+From: Niko Tyni <ntyni@debian.org>
+Date: Sat, 14 Oct 2017 17:47:09 +0300
+Subject: Regenerate Configure et al. after probe unit changes
+
+Bug-Debian: https://bugs.debian.org/762638
+---
+ Configure | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Configure b/Configure
+index 684a9c0..c83ca50 100755
+--- a/Configure
++++ b/Configure
+@@ -1487,8 +1487,7 @@ archname=''
+ usereentrant='undef'
+ : List of libraries we want.
+ : If anyone needs extra -lxxx, put those in a hint file.
+-libswanted="cl pthread socket bind inet nsl ndbm gdbm dbm db malloc dl ld"
+-libswanted="$libswanted sun m crypt sec util c cposix posix ucb bsd BSD"
++libswanted='gdbm gdbm_compat db dl m c crypt'
+ : We probably want to search /usr/shlib before most other libraries.
+ : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
+ glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
+@@ -23840,7 +23839,7 @@ sunos*X4*)
+ ;;
+ *) case "$usedl" in
+ $define|true|[yY]*)
+- set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
++ set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'`
+ shift
+ perllibs="$*"
+ ;;