aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChris Jones2010-08-25 22:54:24 -0400
committerAdam Vandenberg2010-10-30 22:31:31 -0700
commit1a68f5f3fddd98e7234c36533cb287f4cee7b7a2 (patch)
tree9808fbdb3822e9c73545a99ada85e22f761eab5f /Library
parentd520077dca0d7bf25c98db0f139ddab500bd0f37 (diff)
downloadhomebrew-1a68f5f3fddd98e7234c36533cb287f4cee7b7a2.tar.bz2
Patch OMake to build under OCaml 3.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/o-make.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/o-make.rb b/Library/Formula/o-make.rb
index cf2a5c1dc..7709c2420 100644
--- a/Library/Formula/o-make.rb
+++ b/Library/Formula/o-make.rb
@@ -31,3 +31,16 @@ index 8c034b5..7e40b35 100644
module Exec =
struct
(*
+diff --git a/OMakefile b/OMakefile
+index 9b77a25..1d61d70 100644
+--- a/OMakefile
++++ b/OMakefile
+@@ -57,7 +57,7 @@ if $(not $(defined CAMLLIB))
+ #
+ # OCaml options
+ #
+-OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)
++OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)-9-27..29
+ if $(THREADS_ENABLED)
+ OCAMLFLAGS += -thread
+ export