ports/graphics/ocaml-graphics/patches/patch-src_unix_open_c

13 lines
314 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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)
{