gentoo/dev-ml/ocaml-gettext/files/ocaml-unsafe-string.patch
Sam James 6baee49342
dev-ml/ocaml-gettext: Revert "drop 0.3.7-r3"
This reverts commit 5f94abf337d587ca1b72bd13bc10c6c255ba81e1.
It's useful to keep this older version around for now to ease
upgrades for users.

Closes: https://bugs.gentoo.org/788634
Signed-off-by: Sam James <sam@gentoo.org>
2021-06-07 22:49:15 +00:00

18 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@