pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-WWW-Curl Fix build against curl-7.50.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/391794fe4db8
branches:  trunk
changeset: 355069:391794fe4db8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Nov 20 09:51:50 2016 +0000

description:
Fix build against curl-7.50.2.

>From https://rt.cpan.org/Public/Bug/Display.html?id=117793
via darcy.

diffstat:

 www/p5-WWW-Curl/distinfo                  |   4 ++--
 www/p5-WWW-Curl/patches/patch-Makefile.PL |  14 ++++++--------
 2 files changed, 8 insertions(+), 10 deletions(-)

diffs (41 lines):

diff -r 0de4971e144c -r 391794fe4db8 www/p5-WWW-Curl/distinfo
--- a/www/p5-WWW-Curl/distinfo  Sun Nov 20 09:41:31 2016 +0000
+++ b/www/p5-WWW-Curl/distinfo  Sun Nov 20 09:51:50 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.17 2016/10/20 18:09:40 wiz Exp $
+$NetBSD: distinfo,v 1.18 2016/11/20 09:51:50 wiz Exp $
 
 SHA1 (WWW-Curl-4.17.tar.gz) = 8ec7b7b39bd653539671fb02fbb7d0ff4863e636
 RMD160 (WWW-Curl-4.17.tar.gz) = 786b6e0461051eae67bdcded046095895ea2a6a2
 SHA512 (WWW-Curl-4.17.tar.gz) = bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6
 Size (WWW-Curl-4.17.tar.gz) = 50917 bytes
-SHA1 (patch-Makefile.PL) = 7abf71d929aff8c764969431790727741fa453b7
+SHA1 (patch-Makefile.PL) = 6b7a1fbfce0d7007e769c71dc947d1f348b3b334
diff -r 0de4971e144c -r 391794fe4db8 www/p5-WWW-Curl/patches/patch-Makefile.PL
--- a/www/p5-WWW-Curl/patches/patch-Makefile.PL Sun Nov 20 09:41:31 2016 +0000
+++ b/www/p5-WWW-Curl/patches/patch-Makefile.PL Sun Nov 20 09:51:50 2016 +0000
@@ -1,18 +1,16 @@
-$NetBSD: patch-Makefile.PL,v 1.1 2016/06/21 13:23:32 mef Exp $
+$NetBSD: patch-Makefile.PL,v 1.2 2016/11/20 09:51:50 wiz Exp $
 
-Adhoc work around not to pick the definition of CURL_DID_MEMORY_FUNC_TYPEDEFS:
-./curlopt-constants.c:19:58: error: non-void function 'constant' should return a value [-Wreturn-type]
-if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS;
-^
+Build fix for curl-7.50.2.
+https://rt.cpan.org/Public/Bug/Display.html?id=117793
 
---- Makefile.PL.orig   2016-06-21 21:55:38.000000000 +0900
-+++ Makefile.PL        2016-06-21 21:57:43.000000000 +0900
+--- Makefile.PL.orig   2014-02-21 16:08:09.000000000 +0000
++++ 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|_LAST\z|_LASTENTRY\z|CURL_DID_MEMORY_FUNC_TYPEDEFS\z)/) {
++       if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z||_LAST\z|_LASTENTRY\z)/) {
            next;
         }
         my ($group) = $e =~ m/^([^_]+_)/;



Home | Main Index | Thread Index | Old Index