[153104] trunk/dports/perl/p5-www-curl
devans at macports.org
devans at macports.org
Sat Sep 24 12:24:11 PDT 2016
Revision: 153104
https://trac.macports.org/changeset/153104
Author: devans at macports.org
Date: 2016-09-24 12:24:11 -0700 (Sat, 24 Sep 2016)
Log Message:
-----------
p5-www-curl: build fix, patch Makefile.PL for compatibility with curl 7.50.2+, remove comment.
Modified Paths:
--------------
trunk/dports/perl/p5-www-curl/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-www-curl/files/
trunk/dports/perl/p5-www-curl/files/curl-7.50.2-invalid-symbols.patch
Modified: trunk/dports/perl/p5-www-curl/Portfile
===================================================================
--- trunk/dports/perl/p5-www-curl/Portfile 2016-09-24 19:18:23 UTC (rev 153103)
+++ trunk/dports/perl/p5-www-curl/Portfile 2016-09-24 19:24:11 UTC (rev 153104)
@@ -1,17 +1,12 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
-# This comment was inserted on 20160713 to force reindexing of
-# this port after the default homepage definition in the perl5
-# PortGroup was changed to use metacpan.org (r150080).
-# Reindexing is necessary for the new definition to take effect.
-# This comment may be removed in subsequent updates of this port.
-
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.22 5.24
perl5.setup WWW-Curl 4.17
+revision 1
license {MPL MIT}
maintainers alum.wpi.edu:arno+macports openmaintainer
description Perl extension interface for libcurl
@@ -25,4 +20,9 @@
if {${perl5.major} != ""} {
depends_lib-append port:curl
+
+# patch Makefile.PL for compatibility with curl 7.50.2+
+# https://rt.cpan.org/Public/Bug/Display.html?id=117793
+# https://github.com/szbalint/WWW--Curl/issues/16
+ patchfiles curl-7.50.2-invalid-symbols.patch
}
Added: trunk/dports/perl/p5-www-curl/files/curl-7.50.2-invalid-symbols.patch
===================================================================
--- trunk/dports/perl/p5-www-curl/files/curl-7.50.2-invalid-symbols.patch (rev 0)
+++ trunk/dports/perl/p5-www-curl/files/curl-7.50.2-invalid-symbols.patch 2016-09-24 19:24:11 UTC (rev 153104)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig 2016-09-24 11:42:08.000000000 -0700
++++ Makefile.PL 2016-09-24 11:54:24.000000000 -0700
+@@ -127,7 +127,7 @@
+ 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/^([^_]+_)/;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160924/25ec3c0c/attachment.html>
More information about the macports-changes
mailing list