[74063] trunk/dports/net/curl
ryandesign at macports.org
ryandesign at macports.org
Fri Dec 3 11:45:21 PST 2010
Revision: 74063
http://trac.macports.org/changeset/74063
Author: ryandesign at macports.org
Date: 2010-12-03 11:45:14 -0800 (Fri, 03 Dec 2010)
Log Message:
-----------
curl: patch curl.h to avoid problems when also linking with MacFUSE, which defines 'FreeBSD' even on Mac OS X... see #23952
Modified Paths:
--------------
trunk/dports/net/curl/Portfile
Added Paths:
-----------
trunk/dports/net/curl/files/
trunk/dports/net/curl/files/patch-curl.h.diff
Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile 2010-12-03 17:25:41 UTC (rev 74062)
+++ trunk/dports/net/curl/Portfile 2010-12-03 19:45:14 UTC (rev 74063)
@@ -8,7 +8,7 @@
name curl
# keep the version in sync with the curl-ca-bundle port
version 7.21.2
-revision 1
+revision 2
categories net www
maintainers ryandesign
license curl
@@ -34,6 +34,8 @@
checksums sha1 f729552a905033dbd0d2cf56e40c7048f2d8331e \
rmd160 fcb1302f79741bc3e488fcee1206284f4cb9e6ca
+patchfiles patch-curl.h.diff
+
configure.args --enable-ipv6 \
--without-gnutls \
--without-gssapi \
Added: trunk/dports/net/curl/files/patch-curl.h.diff
===================================================================
--- trunk/dports/net/curl/files/patch-curl.h.diff (rev 0)
+++ trunk/dports/net/curl/files/patch-curl.h.diff 2010-12-03 19:45:14 UTC (rev 74063)
@@ -0,0 +1,11 @@
+--- include/curl/curl.h.orig 2010-12-01 00:31:15.000000000 +0100
++++ include/curl/curl.h 2010-12-01 00:31:50.000000000 +0100
+@@ -46,7 +46,7 @@
+ #include <stdio.h>
+ #include <limits.h>
+
+-#if defined(__FreeBSD__) && (__FreeBSD__ >= 2)
++#if !defined(__APPLE__) && defined(__FreeBSD__) && (__FreeBSD__ >= 2)
+ /* Needed for __FreeBSD_version symbol definition */
+ #include <osreldate.h>
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101203/4b5c90db/attachment-0001.html>
More information about the macports-changes
mailing list