[102849] trunk/dports/textproc/sword
ryandesign at macports.org
ryandesign at macports.org
Sat Feb 9 05:53:49 PST 2013
Revision: 102849
https://trac.macports.org/changeset/102849
Author: ryandesign at macports.org
Date: 2013-02-09 05:53:49 -0800 (Sat, 09 Feb 2013)
Log Message:
-----------
sword: fix build failure with recent versions of curl due to inclusion of obsolete curl/types.h header
Modified Paths:
--------------
trunk/dports/textproc/sword/Portfile
Added Paths:
-----------
trunk/dports/textproc/sword/files/patch-curl-types.diff
Modified: trunk/dports/textproc/sword/Portfile
===================================================================
--- trunk/dports/textproc/sword/Portfile 2013-02-09 13:47:22 UTC (rev 102848)
+++ trunk/dports/textproc/sword/Portfile 2013-02-09 13:53:49 UTC (rev 102849)
@@ -32,7 +32,8 @@
port:openssl \
port:zlib
-patchfiles patch-automake-1.13.diff
+patchfiles patch-automake-1.13.diff \
+ patch-curl-types.diff
# fails to build with clang, probably incorrect code
# ../include/multimapwdef.h:22:7: error: use of undeclared identifier 'find'
Added: trunk/dports/textproc/sword/files/patch-curl-types.diff
===================================================================
--- trunk/dports/textproc/sword/files/patch-curl-types.diff (rev 0)
+++ trunk/dports/textproc/sword/files/patch-curl-types.diff 2013-02-09 13:53:49 UTC (rev 102849)
@@ -0,0 +1,22 @@
+--- src/mgr/curlftpt.cpp.orig 2010-03-20 06:49:54.000000000 -0500
++++ src/mgr/curlftpt.cpp 2013-02-09 07:46:40.000000000 -0600
+@@ -26,8 +26,6 @@
+ #include <fcntl.h>
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+-#include <curl/easy.h>
+
+ #include <swlog.h>
+
+--- src/mgr/curlhttpt.cpp.orig 2009-10-21 19:46:40.000000000 -0500
++++ src/mgr/curlhttpt.cpp 2013-02-09 07:46:30.000000000 -0600
+@@ -25,8 +25,6 @@
+ #include <cctype>
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+-#include <curl/easy.h>
+
+ #include <swlog.h>
+ #include <filemgr.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130209/212b69a7/attachment.html>
More information about the macports-changes
mailing list