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