summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff
new file mode 100644
index 0000000000..80c0acb39d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff
@@ -0,0 +1,30 @@
1From 90c7967530102c66bbff25d89273d3f0bf189a83 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Fri, 10 Apr 2009 01:17:43 +0300
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
9Patch-Name: debian/disable-zlib-bundling.diff
10---
11 cpan/Compress-Raw-Zlib/config.in | 6 +++---
12 1 files changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/cpan/Compress-Raw-Zlib/config.in b/cpan/Compress-Raw-Zlib/config.in
15index c56cc03..2c6659b 100644
16--- a/cpan/Compress-Raw-Zlib/config.in
17+++ b/cpan/Compress-Raw-Zlib/config.in
18@@ -16,9 +16,9 @@
19 # Setting the Gzip OS Code
20 #
21
22-BUILD_ZLIB = True
23-INCLUDE = ./zlib-src
24-LIB = ./zlib-src
25+BUILD_ZLIB = False
26+INCLUDE = /usr/include
27+LIB = /usr/lib
28
29 OLD_ZLIB = False
30 GZIP_OS_CODE = AUTO_DETECT