View | Details | Raw Unified | Return to bug 241280 | Differences between
and this patch

Collapse All | Expand All

(-)www/p5-WWW-Curl/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	WWW-Curl
4
PORTNAME=	WWW-Curl
5
PORTVERSION=	4.17
5
PORTVERSION=	4.17
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	www ftp perl5
7
CATEGORIES=	www ftp perl5
8
MASTER_SITES=	CPAN \
8
MASTER_SITES=	CPAN \
9
		http://curl.haxx.se/libcurl/perl/
9
		http://curl.haxx.se/libcurl/perl/
(-)www/p5-WWW-Curl/files/patch-Curl.xs (-2 / +13 lines)
Lines 1-6 Link Here
1
--- Curl.xs.orig	2019-09-17 09:12:44 UTC
1
--- Curl.xs.orig	2014-02-21 16:08:30 UTC
2
+++ Curl.xs
2
+++ Curl.xs
3
@@ -73,7 +73,7 @@ typedef struct {
3
@@ -18,6 +18,10 @@
4
 #include <curl/easy.h>
5
 #include <curl/multi.h>
6
 
7
+#ifdef CURLINC_MULTI_H
8
+#define __CURL_MULTI_H
9
+#endif
10
+
11
 #define header_callback_func writeheader_callback_func
12
 
13
 /* Do a favor for older perl versions */
14
@@ -73,7 +77,7 @@ typedef struct {
4
 #ifdef __CURL_MULTI_H
15
 #ifdef __CURL_MULTI_H
5
     struct CURLM *curlm;
16
     struct CURLM *curlm;
6
 #else
17
 #else
(-)www/p5-WWW-Curl/files/patch-Makefile.PL (-1 / +9 lines)
Lines 1-6 Link Here
1
--- Makefile.PL.orig	2014-02-21 16:08:09 UTC
1
--- Makefile.PL.orig	2014-02-21 16:08:09 UTC
2
+++ Makefile.PL
2
+++ Makefile.PL
3
@@ -121,6 +121,7 @@ if (!defined($curl_h)) {
3
@@ -121,13 +121,14 @@ if (!defined($curl_h)) {
4
     open (H, "<", $curl_h) or die ("Cannot open $curl_h: ".$!);
4
     open (H, "<", $curl_h) or die ("Cannot open $curl_h: ".$!);
5
     while(<H>) {
5
     while(<H>) {
6
         if (/^#define (CURL[A-Za-z0-9_]*)/) {
6
         if (/^#define (CURL[A-Za-z0-9_]*)/) {
Lines 8-10 Link Here
8
             push @syms, $1;
8
             push @syms, $1;
9
         }
9
         }
10
     }
10
     }
11
     close H;
12
 
13
     for my $e (sort @syms) {
14
-       if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
15
+       if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z|^CURLINC_)/) {
16
           next;
17
        }
18
        my ($group) = $e =~ m/^([^_]+_)/;

Return to bug 241280