Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37715504
en ru br
ALT Linux repos
S:4.12.0-alt3.3

Group :: Publishing
RPM: djview4

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: djview-4.12-alt-disable-fseeko.patch
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~
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin