Browse Source

perl-www-curl: curl 7.69.0 compatibility

Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
lilik-openwrt-22.03
Alexander Ryzhov 5 years ago
parent
commit
286ab74e9b
No known key found for this signature in database GPG Key ID: 668EC7CA19147A4E
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      lang/perl-www-curl/Makefile
  2. +11
    -0
      lang/perl-www-curl/patches/220-curl_7.69_compat.patch

+ 1
- 1
lang/perl-www-curl/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=perl-www-curl PKG_NAME:=perl-www-curl
PKG_VERSION:=4.17 PKG_VERSION:=4.17
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE_URL:=http://www.cpan.org/authors/id/S/SZ/SZBALINT/ PKG_SOURCE_URL:=http://www.cpan.org/authors/id/S/SZ/SZBALINT/
PKG_SOURCE:=WWW-Curl-$(PKG_VERSION).tar.gz PKG_SOURCE:=WWW-Curl-$(PKG_VERSION).tar.gz


+ 11
- 0
lang/perl-www-curl/patches/220-curl_7.69_compat.patch View File

@ -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/^([^_]+_)/;

Loading…
Cancel
Save