]> git.pld-linux.org Git - packages/perl-WWW-Curl.git/blame - curl-7.66.0.patch
- fix building with curl 7.66+
[packages/perl-WWW-Curl.git] / curl-7.66.0.patch
CommitLineData
6cfc52b9
JR
1From 0ef6ea22479b4696a0d62cd44aac8f4fe866db2f Mon Sep 17 00:00:00 2001
2From: Slaven Rezic <cpansand@cloud1.bbbike.org>
3Date: Sun, 29 Sep 2019 16:19:57 +0000
4Subject: [PATCH] compat for libcurl 7.66.0 (fix for RT #130591)
5Origin: CPAN RT #130591
6Bug: https://rt.cpan.org/Public/Bug/Display.html?id=130591
7Bug-Debian: https://bugs.debian.org/941915
8Reviewed-by: gregor herrmann <gregoa@debian.org>
9Last-Update: 2019-10-07
10
11---
12 Curl.xs | 4 ++++
13 Makefile.PL | 2 +-
14 2 files changed, 5 insertions(+), 1 deletion(-)
15
16--- a/Curl.xs
17+++ b/Curl.xs
18@@ -18,6 +18,10 @@
19 #include <curl/easy.h>
20 #include <curl/multi.h>
21
22+#ifdef CURLINC_MULTI_H
23+#define __CURL_MULTI_H
24+#endif
25+
26 #define header_callback_func writeheader_callback_func
27
28 /* Do a favor for older perl versions */
29--- a/Makefile.PL
30+++ b/Makefile.PL
31@@ -132,7 +132,7 @@
32 close H;
33
34 for my $e (sort @syms) {
35- if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
36+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/) {
37 next;
38 }
39 my ($group) = $e =~ m/^([^_]+_)/;
This page took 0.070891 seconds and 4 git commands to generate.