diff options
| author | Camillo Lugaresi | 2010-12-29 05:53:48 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2011-02-12 16:04:12 +0000 |
| commit | f7536d2f91ca9f37a625c0c44f931731a0fe6a11 (patch) | |
| tree | a9cfcd7d66ac6110a5018db0aade3537ca20bf96 | |
| parent | 7ab160a5f8e1552fa1a2c9f040439811c20b0b06 (diff) | |
| download | homebrew-f7536d2f91ca9f37a625c0c44f931731a0fe6a11.tar.bz2 | |
build gnutls universally for wine
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/gnutls.rb | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Library/Formula/gnutls.rb b/Library/Formula/gnutls.rb index aaddac51d..505d53ea0 100644 --- a/Library/Formula/gnutls.rb +++ b/Library/Formula/gnutls.rb @@ -1,19 +1,40 @@ require 'formula' class Gnutls <Formula - url 'http://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.10.2.tar.bz2' + url 'http://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.10.4.tar.bz2' homepage 'http://www.gnu.org/software/gnutls/gnutls.html' - sha1 '2704b7b86fc5e3444afcf20feb7bc9ff117d4816' + sha1 'f0dcd7b68748b48d7b945c52b6a9e64d643e4b58' depends_on 'pkg-config' => :build depends_on 'libgcrypt' depends_on 'libtasn1' => :optional + def patches + DATA + end + def install fails_with_llvm "Undefined symbols when linking", :build => "2326" + + ENV.universal_binary # build fat so wine can use it + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-guile" system "make install" end end + +__END__ +diff --git a/src/serv.c b/src/serv.c +index 0307b05..ecd8725 100644 +--- a/src/serv.c ++++ b/src/serv.c +@@ -440,6 +440,7 @@ static const char DEFAULT_DATA[] = + */ + #define tmp2 &http_buffer[strlen(http_buffer)], len-strlen(http_buffer) + static char * ++#undef snprintf + peer_print_info (gnutls_session_t session, int *ret_length, + const char *header) + { |
