aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTianyi Cui2010-11-16 23:38:35 +0800
committerMike McQuaid2010-12-19 20:42:05 +0000
commit2180c9f24455894b89bf3f736dee4ce2bdf63850 (patch)
tree70bc4f1b9d44cd08ff51c909592d9c8a25b30010 /Library/Formula
parenteb876073c7b342e9da431663953862c76ed33801 (diff)
downloadhomebrew-2180c9f24455894b89bf3f736dee4ce2bdf63850.tar.bz2
unison: fix 64-bit build
When building unison using ocaml 3.12 64-bit, the build failed the same way as in Debian bug #585453: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585453 So I added the patch from Debian. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unison.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/unison.rb b/Library/Formula/unison.rb
index 8c56ed866..730648439 100644
--- a/Library/Formula/unison.rb
+++ b/Library/Formula/unison.rb
@@ -7,6 +7,11 @@ class Unison < Formula
depends_on 'objective-caml'
+ def patches
+ # this is used to fix the 64-bit build bug as described in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585453
+ {:p1 => 'http://git.debian.org/?p=pkg-ocaml-maint/packages/unison.git;a=blob_plain;f=debian/patches/debbug585453_mymap.dpatch;hb=5ae435235d324efe54057a29cda5753609a8ad3c'}
+ end
+
def install
ENV.j1
ENV.delete "CFLAGS" # ocamlopt reads CFLAGS but doesn't understand common options