Search
j0ke.net Open Build Service
>
Projects
>
graphics
:
ImageMagick:6.9.1.10
>
tiff3
> tiff-3.9.5-seek.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tiff-3.9.5-seek.patch of Package tiff3
Index: libtiff/tiffiop.h =================================================================== --- libtiff/tiffiop.h.orig +++ libtiff/tiffiop.h @@ -209,7 +209,7 @@ struct tiff { #define TIFFWriteFile(tif, buf, size) \ ((*(tif)->tif_writeproc)((tif)->tif_clientdata,buf,size)) #define TIFFSeekFile(tif, off, whence) \ - ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence)) + ((tif)->tif_seekproc?((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence)):0) #define TIFFCloseFile(tif) \ ((*(tif)->tif_closeproc)((tif)->tif_clientdata)) #define TIFFGetFileSize(tif) \