ports/devel/omake/files/patch-lib_build_OCaml.om
Rene Ladan edbbdaf2a2 Ressurect devel/omake, graphics/ocaml-images and games/freetennis [1]
- devel/omake:
  - add new MASTER_SITES
  - regenerate patches [1]
- graphics/ocaml-images:
  - add missing LIB_DEPENDS
  - pet portlint
  - bump PORTREVISION
- games/freetennis:
  - add missing indirect depedencies [2]
  - bump PORTREVISION
PR:		210853 [1]
Submitted by:	lightside@gmx.com [1]
Reported by:	poudriere testport [2]
2016-07-23 14:19:05 +00:00

19 lines
681 B
Text

$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 UTC
+++ 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 =