summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-10-19 22:51:11 +0000
committerwiz <wiz@pkgsrc.org>2016-10-19 22:51:11 +0000
commit40b1476295edcf50281e23a049a6f1f42f5d6759 (patch)
treea67cffd165aac32bbb62bf2081e0292450e5f183 /www
parent7e0eb2beebefd3f63963b90ff8935ee79c4472e1 (diff)
downloadpkgsrc-40b1476295edcf50281e23a049a6f1f42f5d6759.tar.gz
Fix build with latest curl. Bump PKGREVISION for patch.
Diffstat (limited to 'www')
-rw-r--r--www/p5-WWW-Curl/Makefile5
-rw-r--r--www/p5-WWW-Curl/distinfo3
-rw-r--r--www/p5-WWW-Curl/patches/patch-curlopt-constants.c14
3 files changed, 18 insertions, 4 deletions
diff --git a/www/p5-WWW-Curl/Makefile b/www/p5-WWW-Curl/Makefile
index 2627833b4e5..6fa289da703 100644
--- a/www/p5-WWW-Curl/Makefile
+++ b/www/p5-WWW-Curl/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2016/10/07 18:26:13 adam Exp $
-#
+# $NetBSD: Makefile,v 1.37 2016/10/19 22:51:11 wiz Exp $
DISTNAME= WWW-Curl-4.17
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
diff --git a/www/p5-WWW-Curl/distinfo b/www/p5-WWW-Curl/distinfo
index 090063776fd..f7b9c05fec2 100644
--- a/www/p5-WWW-Curl/distinfo
+++ b/www/p5-WWW-Curl/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.15 2016/06/21 13:23:32 mef Exp $
+$NetBSD: distinfo,v 1.16 2016/10/19 22:51:11 wiz Exp $
SHA1 (WWW-Curl-4.17.tar.gz) = 8ec7b7b39bd653539671fb02fbb7d0ff4863e636
RMD160 (WWW-Curl-4.17.tar.gz) = 786b6e0461051eae67bdcded046095895ea2a6a2
SHA512 (WWW-Curl-4.17.tar.gz) = bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6
Size (WWW-Curl-4.17.tar.gz) = 50917 bytes
SHA1 (patch-Makefile.PL) = 7abf71d929aff8c764969431790727741fa453b7
+SHA1 (patch-curlopt-constants.c) = 1d40306512cc2694007083d769702b6c66422937
diff --git a/www/p5-WWW-Curl/patches/patch-curlopt-constants.c b/www/p5-WWW-Curl/patches/patch-curlopt-constants.c
new file mode 100644
index 00000000000..658b796fe4a
--- /dev/null
+++ b/www/p5-WWW-Curl/patches/patch-curlopt-constants.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-curlopt-constants.c,v 1.1 2016/10/19 22:51:11 wiz Exp $
+
+Remove constant that's gone from curl.
+
+--- curlopt-constants.c.orig 2016-10-19 22:49:23.401619025 +0000
++++ curlopt-constants.c
+@@ -123,7 +123,6 @@ constant(const char *name)
+ if (strEQ(name, "SSLVERSION_TLSv1_0")) return CURL_SSLVERSION_TLSv1_0;
+ if (strEQ(name, "SSLVERSION_TLSv1_1")) return CURL_SSLVERSION_TLSv1_1;
+ if (strEQ(name, "SSLVERSION_TLSv1_2")) return CURL_SSLVERSION_TLSv1_2;
+- if (strEQ(name, "STRICTER")) return CURL_STRICTER;
+ break;
+ case 'T':
+ if (strEQ(name, "TIMECOND_IFMODSINCE")) return CURL_TIMECOND_IFMODSINCE;