git: d319d1eb50ab - main - graphics/ocaml-images: force unsafe strings to unbreak against new OCaml
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Feb 2022 08:02:06 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=d319d1eb50ab1f756d7061a8a6e4ae60d3f8b6ad commit d319d1eb50ab1f756d7061a8a6e4ae60d3f8b6ad Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-02-05 08:01:48 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-02-05 08:01:48 +0000 graphics/ocaml-images: force unsafe strings to unbreak against new OCaml This code is old and convoluted enough to make patching unfeasible; once we modernize our stack, the port should be updated as appropriate. --- graphics/ocaml-images/files/patch-OMakefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/graphics/ocaml-images/files/patch-OMakefile b/graphics/ocaml-images/files/patch-OMakefile index 3fe0f16e9845..8f6675f254fc 100644 --- a/graphics/ocaml-images/files/patch-OMakefile +++ b/graphics/ocaml-images/files/patch-OMakefile @@ -18,7 +18,16 @@ # Specify directories where X's rgb.txt can be found PATH_RGB_TXT[]= -@@ -175,13 +175,13 @@ print_configured() = +@@ -95,6 +95,8 @@ print_configured() = + exit 1 + + CFLAGS = $(addprefix -I , $(INCLUDES)) ++ OCAMLCFLAGS = -unsafe-string ++ OCAMLOPTFLAGS = -unsafe-string + + WORD_SIZE = $(Word_size) + +@@ -175,13 +177,13 @@ print_configured() = OCAMLPACKS+=graphics export