summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff
new file mode 100644
index 0000000000..f540067214
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff
@@ -0,0 +1,29 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Disable zlib bundling in Compress::Raw::Zlib
3
4Compress::Raw::Zlib statically links its bundled version of zlib
5by default, but we use the system library instead.
6
7---
8 cpan/Compress-Raw-Zlib/config.in | 6 +++---
9 1 files changed, 3 insertions(+), 3 deletions(-)
10
11diff --git a/cpan/Compress-Raw-Zlib/config.in b/cpan/Compress-Raw-Zlib/config.in
12index c56cc03..2c6659b 100644
13--- a/cpan/Compress-Raw-Zlib/config.in
14+++ b/cpan/Compress-Raw-Zlib/config.in
15@@ -16,9 +16,9 @@
16 # Setting the Gzip OS Code
17 #
18
19-BUILD_ZLIB = True
20-INCLUDE = ./zlib-src
21-LIB = ./zlib-src
22+BUILD_ZLIB = False
23+INCLUDE = /usr/include
24+LIB = /usr/lib
25
26 OLD_ZLIB = False
27 GZIP_OS_CODE = AUTO_DETECT
28--
29tg: (c823880..) debian/disable-zlib-bundling (depends on: upstream)