Group :: Publishing
RPM: djview4
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: djview-4.12-alt-disable-fseeko.patch
Download
Download
diff -ur djview-4.12.0.orig/src/tiff2pdf.c djview-4.12.0/src/tiff2pdf.c
--- djview-4.12.0.orig/src/tiff2pdf.c 2021-03-28 14:50:19.525196539 -0400
+++ djview-4.12.0/src/tiff2pdf.c 2021-03-28 14:50:37.968293526 -0400
@@ -645,11 +645,7 @@
{
T2P *t2p = (T2P*) handle;
if (t2p->outputdisable <= 0 && t2p->outputfile) {
-#if HAVE_FSEEKO
- return fseeko(t2p->outputfile, (off_t) offset, whence);
-#else
return fseek(t2p->outputfile, (long) offset, whence);
-#endif
}
return offset;
}
Only in djview-4.12.0/src: tiff2pdf.c~