components/imagemagick/patches/tiff.patch
changeset 7513 0a979060f73b
parent 7511 f204f26ea168
child 7516 09c933391a1b
equal deleted inserted replaced
7511:f204f26ea168 7513:0a979060f73b
     1 This is workaround until fix for 24750280 is delivered to build machine.
       
     2 
       
     3 Not suitable for upstream.
       
     4 
       
     5 --- ImageMagick-6.9.5/coders/tiff.c.old	2016-09-28 07:57:25.320767505 -0700
       
     6 +++ ImageMagick-6.9.5/coders/tiff.c	2016-09-28 07:57:27.957254880 -0700
       
     7 @@ -84,6 +84,19 @@
       
     8  #include "magick/thread_.h"
       
     9  #include "magick/token.h"
       
    10  #include "magick/utility.h"
       
    11 +
       
    12 +#if !defined(__sparcv9)
       
    13 +# if !defined(__amd64)
       
    14 +#  include "tiffconf.h"
       
    15 +#  undef TIFF_INT64_T
       
    16 +#  define TIFF_INT64_T signed long long
       
    17 +#  undef TIFF_UINT64_T
       
    18 +#  define TIFF_UINT64_T unsigned long long
       
    19 +#  undef TIFF_SSIZE_T
       
    20 +#  define TIFF_SSIZE_T signed int
       
    21 +# endif
       
    22 +#endif
       
    23 +
       
    24  #if defined(MAGICKCORE_TIFF_DELEGATE)
       
    25  # if defined(MAGICKCORE_HAVE_TIFFCONF_H)
       
    26  #  include "tiffconf.h"