File: curl-multiarch.patch

package info (click to toggle)
libwww-curl-perl 4.17-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 476 kB
  • sloc: perl: 1,909; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: curl went multiarch.
 Tell Makefile.PL about the new include directory.
Origin: vendor
Bug-Debian: https://bugs.debian.org/852853
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2017-01-28

--- 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.
 #