aboutsummaryrefslogtreecommitdiffstats
path: root/community/ocaml-lablgtk/ignore-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ocaml-lablgtk/ignore-warnings.patch')
-rw-r--r--community/ocaml-lablgtk/ignore-warnings.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/community/ocaml-lablgtk/ignore-warnings.patch b/community/ocaml-lablgtk/ignore-warnings.patch
deleted file mode 100644
index b829097ce3..0000000000
--- a/community/ocaml-lablgtk/ignore-warnings.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Without this patch Lablgtk treats warnings as errors.
-
-This causes the build to fail with our currently packed ocaml version:
-
- File "gdk.ml", line 346, characters 2-55:
- 346 | external create : len:int -> t = "ml_point_array_new"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Error (warning 61): This primitive declaration uses type t, which is unannotated and
- unboxable. The representation of such types may change in future
- versions. You should annotate the declaration of t with [@@boxed]
- or [@@unboxed].
-
-diff -upr lablgtk-2.18.6.orig/src/Makefile lablgtk-2.18.6/src/Makefile
---- lablgtk-2.18.6.orig/src/Makefile 2019-12-05 13:29:04.763064450 +0100
-+++ lablgtk-2.18.6/src/Makefile 2019-12-05 13:29:20.569735224 +0100
-@@ -1,6 +1,6 @@
- # Makefile for lablgtk.
-
--COMPILER = $(CAMLC) $(MLFLAGS) $(MLBYTEFLAGS) -w s-3+52 -warn-error A-52 -c
-+COMPILER = $(CAMLC) $(MLFLAGS) $(MLBYTEFLAGS) -w s-3+52 -c
- LINKER = $(CAMLC) $(MLFLAGS) $(MLBYTEFLAGS)
- COMPOPT = $(CAMLOPT) $(MLFLAGS) -w s -c
- LINKOPT = $(CAMLOPT) $(MLFLAGS)