1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-ay
Steve Price 854635b423 Correct build on ELF and add maintainer.
PR:		9594
Submitted by:	Seigou Tanimura <tanimura@naklab.dnj.ynu.ac.jp>
1999-01-26 02:40:32 +00:00

13 lines
420 B
Plaintext

--- src/lib/TIFF/tif_write.c.orig Tue Feb 11 12:06:47 1992
+++ src/lib/TIFF/tif_write.c Sun Jan 17 17:48:20 1999
@@ -550,7 +550,8 @@
}
} else
td->td_stripoffset[strip] =
- lseek(tif->tif_fd, 0L, L_XTND);
+ /*changed 0L to (off_t)0 .. jj@ldjpc.apana.org.au*/
+ lseek(tif->tif_fd, (off_t)0, L_XTND);
tif->tif_curoff = td->td_stripoffset[strip];
}
if (!WriteOK(tif->tif_fd, data, cc)) {