From: Daniel Dickman Subject: [update] graphics/ocaml-graphics 5.0.0 -> 5.1.2 To: ports@openbsd.org Date: Tue, 9 Jun 2026 23:50:09 -0400 Here's an update for ocaml-graphics (only used by ocaml-cairo). ok? Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/ocaml-graphics/Makefile,v diff -u -p -u -r1.10 Makefile --- Makefile 24 Apr 2024 17:10:15 -0000 1.10 +++ Makefile 10 Jun 2026 03:48:21 -0000 @@ -1,8 +1,7 @@ COMMENT = graphics library providing basic drawing primitives CATEGORIES = graphics -V = 5.0.0 -REVISION = 6 +V = 5.1.2 DISTNAME = graphics-$V PKGNAME = ocaml-graphics-$V @@ -16,7 +15,8 @@ EXTRACT_SUFX = .tbz MODULES = lang/ocaml -BUILD_DEPENDS = devel/dune +BUILD_DEPENDS = devel/dune \ + devel/dune,-configurator MAKE_ENV = CPATH=${X11BASE}/include \ LIBRARY_PATH=${X11BASE}/lib Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/ocaml-graphics/distinfo,v diff -u -p -u -r1.1.1.1 distinfo --- distinfo 26 Sep 2019 09:33:14 -0000 1.1.1.1 +++ distinfo 10 Jun 2026 03:48:21 -0000 @@ -1,2 +1,2 @@ -SHA256 (graphics-5.0.0.tbz) = Lc9g1VKusri/bB/hlkxa/+i/44vEuGJZ7k3L66IwFV0= -SIZE (graphics-5.0.0.tbz) = 39856 +SHA256 (graphics-5.1.2.tbz) = QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ= +SIZE (graphics-5.1.2.tbz) = 58863 Index: patches/patch-src_unix_open_c =================================================================== RCS file: patches/patch-src_unix_open_c diff -N patches/patch-src_unix_open_c --- patches/patch-src_unix_open_c 11 Mar 2022 19:22:54 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -Index: src/unix/open.c ---- src/unix/open.c.orig -+++ src/unix/open.c -@@ -365,7 +365,7 @@ value caml_gr_sigio_handler(void) - - /* Processing of graphic errors */ - --static value * graphic_failure_exn = NULL; -+const static value * graphic_failure_exn = NULL; - - void caml_gr_fail(const char *fmt, const char *arg) - {