]> git.pld-linux.org Git - packages/perl-WWW-Curl.git/commitdiff
- fix building with curl 7.69.x auto/th/perl-WWW-Curl-4.17-5
authorMarcin Krol <hawk@tld-linux.org>
Wed, 29 Apr 2020 21:24:30 +0000 (23:24 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 29 Apr 2020 21:24:30 +0000 (23:24 +0200)
curl-7.69.0.patch [new file with mode: 0644]
perl-WWW-Curl.spec

diff --git a/curl-7.69.0.patch b/curl-7.69.0.patch
new file mode 100644 (file)
index 0000000..74427a2
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur WWW-Curl-4.17.orig/Makefile.PL WWW-Curl-4.17/Makefile.PL
+--- WWW-Curl-4.17.orig/Makefile.PL     2020-04-29 23:23:07.018641000 +0200
++++ WWW-Curl-4.17/Makefile.PL  2020-04-29 23:23:24.517641000 +0200
+@@ -127,7 +127,7 @@
+     close H;
+     for my $e (sort @syms) {
+-       if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/) {
++       if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;
index c56a3d72ff81403be34d354915d603165f099dbf..4ad0ae538515e71e81a38a711604656b93aa5cf3 100644 (file)
@@ -8,13 +8,14 @@ Summary:      WWW::Curl::easy - Perl extension interface for libcurl
 Summary(pl.UTF-8):     WWW::Curl::easy - interfejs perlowy do biblioteki libcurl
 Name:          perl-WWW-Curl
 Version:       4.17
-Release:       4
+Release:       5
 License:       MPL or MIT/X
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-authors/id/S/SZ/SZBALINT/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 997ac81cd6b03b30b36f7cd930474845
 Patch0:                WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
 Patch1:                curl-7.66.0.patch
+Patch2:                curl-7.69.0.patch
 URL:           http://curl.haxx.se/libcurl/perl/
 BuildRequires: curl-devel
 BuildRequires: perl-devel >= 1:5.8.0
@@ -42,6 +43,7 @@ nazewnictwa.
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__perl} Makefile.PL \
This page took 0.114087 seconds and 4 git commands to generate.