diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xmlrpc-c.rb | 51 |
1 files changed, 5 insertions, 46 deletions
diff --git a/Library/Formula/xmlrpc-c.rb b/Library/Formula/xmlrpc-c.rb index f5ee4a7ff..4737e28a3 100644 --- a/Library/Formula/xmlrpc-c.rb +++ b/Library/Formula/xmlrpc-c.rb @@ -2,15 +2,8 @@ require 'formula' class XmlrpcC < Formula homepage 'http://xmlrpc-c.sourceforge.net/' - url 'http://downloads.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.16.44.tgz' - sha1 '181c54ac860698ed7cf4e3814c6f3c6dd46b2ce1' - - def patches - # 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 - DATA if MacOS.version >= :mountain_lion - end + url 'http://svn.code.sf.net/p/xmlrpc-c/code/stable', :revision => 2452 + version '1.25.21' def install ENV.deparallelize @@ -18,43 +11,9 @@ class XmlrpcC < Formula system "./configure", "--disable-debug", "--enable-libxml2-backend", "--prefix=#{prefix}" + + # xmlrpc-config.h cannot be found if only calling make install + system "make" 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> |
