unison: fix 64-bit build
When building unison using ocaml 3.12 64-bit, the build failed the same way as in Debian bug Homebrew/homebrew#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>
This commit is contained in:
parent
bae513558d
commit
8cb8c48299
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue