gentoo-overlay/dev-ml/ocaml-gettext/files/ocaml-unsafe-string.patch

17 lines
599 B
Diff

diff --git a/ConfMakefile.in b/ConfMakefile.in
index 5a1e9ea..b562698 100644
--- a/ConfMakefile.in
+++ b/ConfMakefile.in
@@ -37,9 +37,9 @@ OCAMLLIB=@OCAMLLIB@
OCAMLFIND_COMMANDS = "ocamlc=@OCAMLC@ \
ocamlopt=@OCAMLOPT@ \
ocamldep=@OCAMLDEP@"
-OCAMLC = @OCAMLFIND@ ocamlc
-OCAMLOPT = @OCAMLFIND@ ocamlopt
-OCAMLDEP = @OCAMLFIND@ ocamldep
+OCAMLC = @OCAMLFIND@ ocamlc -unsafe-string
+OCAMLOPT = @OCAMLFIND@ ocamlopt -unsafe-string
+OCAMLDEP = @OCAMLFIND@ ocamldep -unsafe-string
OCAMLBEST = @OCAMLBEST@
OCAMLVERSION = @OCAMLVERSION@
OCAMLFIND = @OCAMLFIND@