diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /dev-perl/WWW-Curl/files | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'dev-perl/WWW-Curl/files')
-rw-r--r-- | dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT117793.patch | 25 | ||||
-rw-r--r-- | dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT130591.patch | 41 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT117793.patch b/dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT117793.patch new file mode 100644 index 000000000000..e89d237ea235 --- /dev/null +++ b/dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT117793.patch @@ -0,0 +1,25 @@ +From 292c05a8aa9c18bd27d0aaff0b4ee601d9b87b92 Mon Sep 17 00:00:00 2001 +From: Slaven Rezic <cpansand@cvrsnica-freebsd-101.herceg.de> +Date: Sun, 16 Apr 2017 22:17:00 +0200 +Subject: [PATCH] compilation fixes for curl 7.50.2 and newer (RT #117793) + +--- + Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index f9170bb..bb852e4 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -127,7 +127,7 @@ if (!defined($curl_h)) { + close H; + + for my $e (sort @syms) { +- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) { ++ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/) { + next; + } + my ($group) = $e =~ m/^([^_]+_)/; +-- +2.1.2 + diff --git a/dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT130591.patch b/dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT130591.patch new file mode 100644 index 000000000000..753b3edb4cf6 --- /dev/null +++ b/dev-perl/WWW-Curl/files/WWW-Curl-4.17-RT130591.patch @@ -0,0 +1,41 @@ +From 0ef6ea22479b4696a0d62cd44aac8f4fe866db2f Mon Sep 17 00:00:00 2001 +From: Slaven Rezic <cpansand@cloud1.bbbike.org> +Date: Sun, 29 Sep 2019 16:19:57 +0000 +Subject: [PATCH] compat for libcurl 7.66.0 (fix for RT #130591) + +--- + Curl.xs | 4 ++++ + Makefile.PL | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/Curl.xs b/Curl.xs +index ea9f870..e81c415 100644 +--- a/Curl.xs ++++ b/Curl.xs +@@ -18,6 +18,10 @@ + #include <curl/easy.h> + #include <curl/multi.h> + ++#ifdef CURLINC_MULTI_H ++#define __CURL_MULTI_H ++#endif ++ + #define header_callback_func writeheader_callback_func + + /* Do a favor for older perl versions */ +diff --git a/Makefile.PL b/Makefile.PL +index bb852e4..713656a 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -127,7 +127,7 @@ if (!defined($curl_h)) { + 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)/) { ++ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/) { + next; + } + my ($group) = $e =~ m/^([^_]+_)/; +-- +2.1.4 + |