perl-www-curl: curl 7.69.0 compatibility
authorAlexander Ryzhov <redacted>
Fri, 13 Mar 2020 09:56:30 +0000 (12:56 +0300)
committerAlexander Ryzhov <redacted>
Fri, 13 Mar 2020 09:56:30 +0000 (12:56 +0300)
Signed-off-by: Alexander Ryzhov <redacted>
lang/perl-www-curl/Makefile
lang/perl-www-curl/patches/220-curl_7.69_compat.patch [new file with mode: 0644]

index 2a4e8ccaad96db3f2e4afdea1f0b3b4fbfd3f1b5..858ffa09768500ce0f366411150b1e1a1f24e7f8 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=perl-www-curl
 PKG_VERSION:=4.17
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 
 PKG_SOURCE_URL:=http://www.cpan.org/authors/id/S/SZ/SZBALINT/
 PKG_SOURCE:=WWW-Curl-$(PKG_VERSION).tar.gz
diff --git a/lang/perl-www-curl/patches/220-curl_7.69_compat.patch b/lang/perl-www-curl/patches/220-curl_7.69_compat.patch
new file mode 100644 (file)
index 0000000..1b59a30
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -127,7 +127,7 @@
+     close H;
+     for my $e (sort @syms) {
+-       if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
++       if($e =~ /(OBSOLETE|^CURL_EXTERN|CURLOPT\z|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z|WIN32)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;
git clone https://git.99rst.org/PROJECT