[packages/perl-WWW-Curl] - fix building with curl 7.69.x
hawk
hawk at pld-linux.org
Wed Apr 29 23:29:04 CEST 2020
commit 2cf90da8103e79d219a05f77f074d5f290ac4817
Author: Marcin Krol <hawk at tld-linux.org>
Date: Wed Apr 29 23:24:30 2020 +0200
- fix building with curl 7.69.x
curl-7.69.0.patch | 12 ++++++++++++
perl-WWW-Curl.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec
index c56a3d7..4ad0ae5 100644
--- a/perl-WWW-Curl.spec
+++ b/perl-WWW-Curl.spec
@@ -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 \
diff --git a/curl-7.69.0.patch b/curl-7.69.0.patch
new file mode 100644
index 0000000..74427a2
--- /dev/null
+++ b/curl-7.69.0.patch
@@ -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/^([^_]+_)/;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-WWW-Curl.git/commitdiff/2cf90da8103e79d219a05f77f074d5f290ac4817
More information about the pld-cvs-commit
mailing list