diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/hurd-ccflags.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/hurd-ccflags.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/hurd-ccflags.diff new file mode 100644 index 0000000000..8868c643f1 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/hurd-ccflags.diff | |||
@@ -0,0 +1,28 @@ | |||
1 | Upstream-Status:Inappropriate [debian patch] | ||
2 | |||
3 | Author: Samuel Thibault <sthibault@debian.org> | ||
4 | Subject: Make hints/gnu.sh append to $ccflags rather than overriding them | ||
5 | Bug-Debian: http://bugs.debian.org/587901 | ||
6 | |||
7 | Don't override possible extra $ccflags values given to Configure | ||
8 | on GNU/Hurd. | ||
9 | |||
10 | --- | ||
11 | hints/gnu.sh | 2 +- | ||
12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
13 | |||
14 | diff --git a/hints/gnu.sh b/hints/gnu.sh | ||
15 | index 2cfce54..c1ba2db 100644 | ||
16 | --- a/hints/gnu.sh | ||
17 | +++ b/hints/gnu.sh | ||
18 | @@ -19,7 +19,7 @@ lddlflags='-shared' | ||
19 | ccdlflags='-Wl,-E' | ||
20 | |||
21 | # Debian bug #258618 | ||
22 | -ccflags='-D_GNU_SOURCE' | ||
23 | +ccflags="-D_GNU_SOURCE $ccflags" | ||
24 | |||
25 | # The following routines are only available as stubs in GNU libc. | ||
26 | # XXX remove this once metaconf detects the GNU libc stubs. | ||
27 | -- | ||
28 | tg: (a508b62..) fixes/hurd-ccflags (depends on: upstream) | ||