diff options
Diffstat (limited to 'graphics/ocaml-images/files/patch-src_tiffread.c')
-rw-r--r-- | graphics/ocaml-images/files/patch-src_tiffread.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/graphics/ocaml-images/files/patch-src_tiffread.c b/graphics/ocaml-images/files/patch-src_tiffread.c deleted file mode 100644 index 73b684a3408e..000000000000 --- a/graphics/ocaml-images/files/patch-src_tiffread.c +++ /dev/null @@ -1,36 +0,0 @@ ---- src/tiffread.c.orig 2011-06-22 20:04:32.000000000 +0200 -+++ src/tiffread.c -@@ -23,14 +23,22 @@ - - #include "oversized.h" - -+/* Avoid redefinitions */ -+#undef int16 -+#undef uint16 - /* These are defined in caml/config.h */ - #define int16 int16tiff - #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; - - value open_tiff_file_for_read( name ) -@@ -70,6 +78,10 @@ - failwith_oversized("tiff"); - } - -+ if (oversized (imagewidth, imagelength)) { -+ failwith_oversized("tiff"); -+ } -+ - if( imagesample == 3 && photometric == PHOTOMETRIC_RGB ){ - if( imagebits != 8 ){ - failwith("Sorry, tiff rgb file must be 24bit-color"); |