diff options
Diffstat (limited to 'x11-toolkits/iv/files/patch-aw')
-rw-r--r-- | x11-toolkits/iv/files/patch-aw | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/iv/files/patch-aw b/x11-toolkits/iv/files/patch-aw new file mode 100644 index 000000000000..37ea8c3aa390 --- /dev/null +++ b/x11-toolkits/iv/files/patch-aw @@ -0,0 +1,12 @@ +--- src/lib/TIFF/tif_dir.c.orig Sat Mar 7 04:59:51 1992 ++++ src/lib/TIFF/tif_dir.c Sun Jan 17 17:48:20 1999 +@@ -950,7 +950,8 @@ + } + if (tif->tif_flags & TIFF_SWAB) + TIFFSwabShort(&dircount); +- lseek(tif->tif_fd, dircount*sizeof (TIFFDirEntry), L_INCR); ++ /*added (off_t) .. jj@ldjpc.apana.org.au*/ ++ lseek(tif->tif_fd, (off_t)(dircount*sizeof (TIFFDirEntry)), L_INCR); + if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { + TIFFError(module, "%s: Error fetching directory link", + tif->tif_name); |