bcaa13d660
Copy from home:jengelh:branches:graphics/tiff via accept of submit request 28145 revision 5. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/28145 OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=6
12 lines
486 B
Diff
12 lines
486 B
Diff
--- libtiff/tiffiop.h
|
|
+++ libtiff/tiffiop.h
|
|
@@ -184,7 +184,7 @@
|
|
#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) \
|