diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff new file mode 100644 index 0000000000..901f98d344 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff | |||
@@ -0,0 +1,30 @@ | |||
1 | From f66e8575cb0ca11171f43efe0f9e3c6e790b75bc Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuel Thibault <sthibault@debian.org> | ||
3 | Date: Wed, 4 Aug 2010 13:34:05 +0300 | ||
4 | Subject: Make hints/gnu.sh append to $ccflags rather than overriding them | ||
5 | |||
6 | Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=92244 | ||
7 | Bug-Debian: http://bugs.debian.org/587901 | ||
8 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/a190e648879 | ||
9 | |||
10 | Don't override possible extra $ccflags values given to Configure | ||
11 | on GNU/Hurd. | ||
12 | |||
13 | Patch-Name: fixes/hurd-ccflags.diff | ||
14 | --- | ||
15 | hints/gnu.sh | 2 +- | ||
16 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
17 | |||
18 | diff --git a/hints/gnu.sh b/hints/gnu.sh | ||
19 | index 2cfce54..c1ba2db 100644 | ||
20 | --- a/hints/gnu.sh | ||
21 | +++ b/hints/gnu.sh | ||
22 | @@ -19,7 +19,7 @@ lddlflags='-shared' | ||
23 | ccdlflags='-Wl,-E' | ||
24 | |||
25 | # Debian bug #258618 | ||
26 | -ccflags='-D_GNU_SOURCE' | ||
27 | +ccflags="-D_GNU_SOURCE $ccflags" | ||
28 | |||
29 | # The following routines are only available as stubs in GNU libc. | ||
30 | # XXX remove this once metaconf detects the GNU libc stubs. | ||