void-packages/srcpkgs/perl-WWW-Curl/patches/curl-7.50.2.patch

27 lines
611 B
Diff

CPAN RT#132197
--- Makefile.PL
+++ Makefile.PL
@@ -127,7 +127,7 @@
close H;
for my $e (sort @syms) {
- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|_LAST\z|_LASTENTRY\z)/) {
next;
}
my ($group) = $e =~ m/^([^_]+_)/;
--- Curl.xs
+++ Curl.xs
@@ -18,6 +18,10 @@
#include <curl/easy.h>
#include <curl/multi.h>
+#ifdef CURLINC_MULTI_H
+#define __CURL_MULTI_H
+#endif
+
#define header_callback_func writeheader_callback_func
/* Do a favor for older perl versions */