diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff deleted file mode 100644 index 6c55e71984..0000000000 --- a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | Upstream-Status:Inappropriate [debian patches] | ||
2 | From d6fd7595fcd04b332e7449f59ea298639f10a183 Mon Sep 17 00:00:00 2001 | ||
3 | From: Pino Toscano <pino@debian.org> | ||
4 | Date: Wed, 10 Aug 2011 08:11:33 +0300 | ||
5 | Subject: Improve general GNU hints, needed for GNU/Hurd. | ||
6 | |||
7 | Bug-Debian: http://bugs.debian.org/636609 | ||
8 | |||
9 | Patch-Name: fixes/hurd-hints.diff | ||
10 | --- | ||
11 | ext/ODBM_File/hints/gnu.pl | 1 + | ||
12 | hints/gnu.sh | 12 ++++++++++++ | ||
13 | 2 files changed, 13 insertions(+), 0 deletions(-) | ||
14 | create mode 100644 ext/ODBM_File/hints/gnu.pl | ||
15 | |||
16 | diff --git a/ext/ODBM_File/hints/gnu.pl b/ext/ODBM_File/hints/gnu.pl | ||
17 | new file mode 100644 | ||
18 | index 0000000..db63567 | ||
19 | --- /dev/null | ||
20 | +++ b/ext/ODBM_File/hints/gnu.pl | ||
21 | @@ -0,0 +1 @@ | ||
22 | +do './hints/linux.pl' or die $@; | ||
23 | diff --git a/hints/gnu.sh b/hints/gnu.sh | ||
24 | index c1ba2db..f075642 100644 | ||
25 | --- a/hints/gnu.sh | ||
26 | +++ b/hints/gnu.sh | ||
27 | @@ -8,10 +8,22 @@ set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'` | ||
28 | shift | ||
29 | libswanted="$*" | ||
30 | |||
31 | +# Debian 4.0 puts ndbm in the -lgdbm_compat library. | ||
32 | +libswanted="$libswanted gdbm_compat" | ||
33 | + | ||
34 | case "$optimize" in | ||
35 | '') optimize='-O2' ;; | ||
36 | esac | ||
37 | |||
38 | +case "$plibpth" in | ||
39 | +'') plibpth=`gcc -print-search-dirs | grep libraries | | ||
40 | + cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'` | ||
41 | + set X $plibpth # Collapse all entries on one line | ||
42 | + shift | ||
43 | + plibpth="$*" | ||
44 | + ;; | ||
45 | +esac | ||
46 | + | ||
47 | # Flags needed to produce shared libraries. | ||
48 | lddlflags='-shared' | ||
49 | |||