summaryrefslogtreecommitdiff
path: root/dev-ml/camomile/files/ocaml-unsafe-string.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/camomile/files/ocaml-unsafe-string.patch')
-rw-r--r--dev-ml/camomile/files/ocaml-unsafe-string.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ml/camomile/files/ocaml-unsafe-string.patch b/dev-ml/camomile/files/ocaml-unsafe-string.patch
new file mode 100644
index 000000000000..49139d61ada4
--- /dev/null
+++ b/dev-ml/camomile/files/ocaml-unsafe-string.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.in 2013-09-15 02:48:38.000000000 -0500
++++ b/Makefile.in 2020-07-03 00:43:13.639039206 -0500
+@@ -48,8 +48,8 @@
+ OCAMLMKLIB = @OCAMLMKLIB@
+
+ # compiler options
+-BOPTIONS = @DEBUG@ @ASSERT@
+-OOPTIONS = @COPTIONS@ @PROFILE@ @ASSERT@
++BOPTIONS =@DEBUG@ @ASSERT@ -unsafe-string
++OOPTIONS =@COPTIONS@ @PROFILE@ @ASSERT@ -unsafe-string
+
+ #
+ PACKAGE = camomile