openbsd-ports/graphics/ocaml-camlimages/patches/patch-src_tiffread_c
avsm a507a5fcd7 update to ocaml-camlimages-4.0.1
* rename to ocaml-camlimages from camlimages for consistency
* new MASTER_SITES and DISTFILES naming scheme
* switch to omake
* remove gettext dependency
* remove lablgtk dependency - only needed for examples
* remove ghostscript runtime dependency - only needed for postscript.

From: Christopher Zimmermann <madroach@gmerlin.de>
2012-08-18 23:35:30 +00:00

18 lines
398 B
Plaintext

$OpenBSD: patch-src_tiffread_c,v 1.1 2012/08/18 23:35:30 avsm Exp $
--- src/tiffread.c.orig Wed Jun 22 20:04:32 2011
+++ src/tiffread.c Fri Jun 22 13:14:54 2012
@@ -28,8 +28,13 @@
#define uint16 uint16tiff
#define int32 int32tiff
#define uint32 uint32tiff
+#define int64 int64tiff
+#define uint64 uint64tiff
#include <tiffio.h>
+
+#undef int64
+#undef uint64
extern value *imglib_error;