summaryrefslogtreecommitdiff
path: root/devel/omake/files/patch-lib_build_OCaml.om
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-03-26 17:53:01 +0000
committerJohn Marino <marino@FreeBSD.org>2014-03-26 17:53:01 +0000
commit130be520d3198b942b7bd6da4f125da0c37d1689 (patch)
tree184ff59404f9a869eebf58ce4b50917d7804daa6 /devel/omake/files/patch-lib_build_OCaml.om
parentOcaml update 2/4: devel/ocaml-findlib adjust for Ocaml 4 (diff)
ocaml update 3/4: devel/omake major tweaks, stage support
Two dozen patches were brought in from NetBSD via dports , and this port was staged too. Most of the patches are upstream fixes as Omake has been updated in repo but without a new release. In any case an update was required because it broke after Ocaml was updated to version 4.00. Urged by: portmgr (bapt)
Diffstat (limited to 'devel/omake/files/patch-lib_build_OCaml.om')
-rw-r--r--devel/omake/files/patch-lib_build_OCaml.om19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/omake/files/patch-lib_build_OCaml.om b/devel/omake/files/patch-lib_build_OCaml.om
new file mode 100644
index 000000000000..dfcbc0ead32e
--- /dev/null
+++ b/devel/omake/files/patch-lib_build_OCaml.om
@@ -0,0 +1,19 @@
+$NetBSD: patch-lib_build_OCaml.om,v 1.1 2012/11/23 22:55:22 marino Exp $
+
+Omake will break in over a dozen places on gcc 4.7.x if warnings are
+treated as errors. All valid but unreferenced functions and constants
+are warned about in gcc 4.7, and the alternative to removing the
+warn-error flag is to remove all these unreferenced functions and
+constants via patches.
+
+--- lib/build/OCaml.om.orig 2008-03-05 01:07:25.000000000 +0000
++++ lib/build/OCaml.om
+@@ -176,7 +176,7 @@ public.PREFIXED_OCAMLPACKS =\
+ #
+ declare OCAMLDEPFLAGS
+ public.OCAMLPPFLAGS =
+-public.OCAMLFLAGS = -warn-error A
++public.OCAMLFLAGS =
+ public.OCAMLCFLAGS = -g
+ public.OCAMLOPTFLAGS =
+ public.OCAMLCPPFLAGS =