[libwww-curl-perl] 01/02: Add patch add curl's new multiarch include path to Makefile.PL.

gregor herrmann gregoa at debian.org
Fri Jan 27 21:58:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libwww-curl-perl.

commit eaa9b76b4266bea58a643889062e0221eb2b9a70
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jan 27 22:55:08 2017 +0100

    Add patch add curl's new multiarch include path to Makefile.PL.
    
    Thanks: Santiago Vila for the bug report.
    Closes: #852853
---
 debian/patches/curl-multiarch.patch | 22 ++++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/curl-multiarch.patch b/debian/patches/curl-multiarch.patch
new file mode 100644
index 0000000..53f33b0
--- /dev/null
+++ b/debian/patches/curl-multiarch.patch
@@ -0,0 +1,22 @@
+Description: curl went multiarchi.
+ Tell Makefile.PL about the new include directory.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/852853
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-01-27
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -54,6 +54,11 @@
+ 	);
+ }
+ 
++# Add multiarch include path
++chomp( my $multiarchpath = '/usr/include/'
++        . qx(/usr/bin/dpkg-architecture -qDEB_HOST_MULTIARCH) );
++push @includes, $multiarchpath;
++
+ #
+ # Get curl to tell us where it is, if we can.
+ #
diff --git a/debian/patches/series b/debian/patches/series
index 2a71f82..8ccee74 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 Skip-preprocessor-symbol-only-CURL_STRICTER.patch
+curl-multiarch.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-curl-perl.git



More information about the Pkg-perl-cvs-commits mailing list