diff options
| author | Misty De Meo | 2012-07-30 18:31:53 -0300 |
|---|---|---|
| committer | Misty De Meo | 2012-07-30 18:33:13 -0300 |
| commit | 1754403f9818a7b4bed696b794296bd4316371f0 (patch) | |
| tree | 13107522efd34b314ca25590b347c26693199f70 /Library/Formula | |
| parent | d181933cb18f68346b5813182431fa437203c5f3 (diff) | |
| download | homebrew-1754403f9818a7b4bed696b794296bd4316371f0.tar.bz2 | |
xmlrpc-c: Patch other files for curl/types.h
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xmlrpc-c.rb | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/Library/Formula/xmlrpc-c.rb b/Library/Formula/xmlrpc-c.rb index f88800cb2..f7793cd0e 100644 --- a/Library/Formula/xmlrpc-c.rb +++ b/Library/Formula/xmlrpc-c.rb @@ -6,11 +6,11 @@ class XmlrpcC < Formula sha1 '7a71fabc652c2848a7226605432a2e420a02dff0' def patches - # Disable including deprecated curl/types.h, which is missing on 10.8 + # Backport patch for deprecated curl/types.h include, which is gone on 10.8 # On 10.6 and 10.7 it's empty, so could probably patch unconditionally # see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636457#10 if MacOS.mountain_lion? - "http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/stable/lib/curl_transport/xmlrpc_curl_transport.c?r1=2115&r2=2150&view=patch" + DATA end end @@ -23,3 +23,40 @@ class XmlrpcC < Formula system "make install" end end + +__END__ +--- stable/lib/curl_transport/curltransaction.c 2011/03/26 19:32:28 2115 ++++ stable/lib/curl_transport/curltransaction.c 2011/07/09 17:47:44 2150 +@@ -17,7 +17,9 @@ + #include "version.h" + + #include <curl/curl.h> ++#ifdef NEED_CURL_TYPES_H + #include <curl/types.h> ++#endif + #include <curl/easy.h> + + #include "curlversion.h" +--- stable/lib/curl_transport/curlmulti.c 2011/07/09 17:41:18 2149 ++++ stable/lib/curl_transport/curlmulti.c 2011/07/09 17:47:44 2150 +@@ -19,7 +19,9 @@ + #endif + + #include <curl/curl.h> ++#ifdef NEED_CURL_TYPES_H + #include <curl/types.h> ++#endif + #include <curl/easy.h> + #include <curl/multi.h> + +--- stable/lib/curl_transport/xmlrpc_curl_transport.c 2011/07/09 17:41:18 2149 ++++ stable/lib/curl_transport/xmlrpc_curl_transport.c 2011/07/09 17:47:44 2150 +@@ -85,7 +85,9 @@ + #include "xmlrpc-c/time_int.h" + + #include <curl/curl.h> ++#ifdef NEED_CURL_TYPES_H + #include <curl/types.h> ++#endif + #include <curl/easy.h> + #include <curl/multi.h> |
