chrisz a05a0ef62b Import graphics/ocaml-graphics
This was formally shipped with the OCaml compiler distribution,
but is now a seperate project.

ok jca@, krw@, sthen@
2019-09-26 09:33:14 +00:00

15 lines
390 B
Plaintext

$OpenBSD: patch-src_unix_open_c,v 1.1.1.1 2019/09/26 09:33:14 chrisz Exp $
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)
{