ocaml-cairo/cairo-ocaml-1.0.0-bigarray.patch
Richard W.M. Jones e93d5262d9 - New upstream version 1.0.0.
- Yes, version number really did roll backwards, so now we're using Epoch.
- Patch for compatibility with OCaml 3.11.1 (renamed bigarray structs).
2009-10-08 11:51:35 +00:00

13 lines
463 B
Diff

diff -ur cairo-ocaml-1.0.0.orig/src/ml_cairo_bigarr.c cairo-ocaml-1.0.0.compat/src/ml_cairo_bigarr.c
--- cairo-ocaml-1.0.0.orig/src/ml_cairo_bigarr.c 2009-06-18 19:01:26.000000000 +0100
+++ cairo-ocaml-1.0.0.compat/src/ml_cairo_bigarr.c 2009-10-08 12:46:54.795555155 +0100
@@ -9,6 +9,8 @@
#include "ml_cairo.h"
#include <caml/bigarray.h>
+#undef CAML_NAME_SPACE
+#include <caml/compatibility.h>
unsigned long bigarray_byte_size (struct caml_bigarray *);