summarylogtreecommitdiffstats
path: root/makefile.patch
blob: 1d16a3df411a4db467305cce84073c2fcab094a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/Curl.xs	2014-02-21 11:08:30.000000000 -0500
+++ b/Curl.xs	2020-06-25 09:36:37.868826340 -0400
@@ -18,6 +18,10 @@
 #include <curl/easy.h>
 #include <curl/multi.h>
 
+#if defined(CURLINC_MULTI_H) && !defined(__CURL_MULTI_H)
+#   define __CURL_MULTI_H
+#endif
+
 #define header_callback_func writeheader_callback_func
 
 /* Do a favor for older perl versions */
--- a/Makefile.PL	2014-02-21 11:08:09.000000000 -0500
+++ b/Makefile.PL	2020-06-25 09:24:50.549812170 -0400
@@ -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_WIN32\z|^CURLOPT\z|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURL_IGNORE_DEPRECATION\z|^CURLOPTDEPRECATED\z|^CURL_DEPRECATED\z|CURLINC_CURL_H\z)/) {
           next;
        }
        my ($group) = $e =~ m/^([^_]+_)/;