[72418] trunk/dports/net/libfetch
afb at macports.org
afb at macports.org
Wed Oct 13 23:55:33 PDT 2010
Revision: 72418
http://trac.macports.org/changeset/72418
Author: afb at macports.org
Date: 2010-10-13 23:55:31 -0700 (Wed, 13 Oct 2010)
Log Message:
-----------
libfetch: fix breakage with openssl 1.0.0a
Modified Paths:
--------------
trunk/dports/net/libfetch/Portfile
Added Paths:
-----------
trunk/dports/net/libfetch/files/patch-common.c
Modified: trunk/dports/net/libfetch/Portfile
===================================================================
--- trunk/dports/net/libfetch/Portfile 2010-10-14 06:25:29 UTC (rev 72417)
+++ trunk/dports/net/libfetch/Portfile 2010-10-14 06:55:31 UTC (rev 72418)
@@ -4,6 +4,7 @@
name libfetch
version 6.2.0-RELEASE
+revision 1
categories net
maintainers nomaintainer
description FreeBSD file fetching library
@@ -23,7 +24,7 @@
xinstall -m 644 -c ${worksrcpath}/fetch.3 ${destroot}${prefix}/share/man/man3 }
platform darwin {
- patchfiles patch-Makefile patch-common.h
+ patchfiles patch-Makefile patch-common.h patch-common.c
build.env LDADD="-Wl,-install_name,${prefix}/lib/libfetch.${libver}.dylib"
pre-destroot {
xinstall -m 644 -c ${worksrcpath}/libfetch.${libver}.dylib \
Added: trunk/dports/net/libfetch/files/patch-common.c
===================================================================
--- trunk/dports/net/libfetch/files/patch-common.c (rev 0)
+++ trunk/dports/net/libfetch/files/patch-common.c 2010-10-14 06:55:31 UTC (rev 72418)
@@ -0,0 +1,11 @@
+--- common.c.orig 2005-02-16 13:46:46.000000000 +0100
++++ common.c 2010-10-14 08:44:43.000000000 +0200
+@@ -327,7 +327,7 @@
+
+ SSL_load_error_strings();
+
+- conn->ssl_meth = SSLv23_client_method();
++ conn->ssl_meth = (SSL_METHOD *) SSLv23_client_method();
+ conn->ssl_ctx = SSL_CTX_new(conn->ssl_meth);
+ SSL_CTX_set_mode(conn->ssl_ctx, SSL_MODE_AUTO_RETRY);
+
Property changes on: trunk/dports/net/libfetch/files/patch-common.c
___________________________________________________________________
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101013/807dd6a0/attachment.html>
More information about the macports-changes
mailing list