pkgsrc/graphics/jpeg_ls/patches/patch-aj
joerg 4b260f490e stdout can not be used to initialise a global variable.. Move it from
global scope to static scope in encoder.c / decoder.c and initialise it
from main.
Fix a nice side-effect from a macro, which is not a macro in DragonFly:
	if feof(tablefile)
does not parse correctly.
2005-12-30 23:23:54 +00:00

12 lines
378 B
Text

$NetBSD: patch-aj,v 1.1 2005/12/30 23:23:54 joerg Exp $
--- Encoder/global.c.orig 2005-12-30 23:13:55.000000000 +0000
+++ Encoder/global.c
@@ -68,7 +68,6 @@ without the written permission of the co
FILE *in, *out;
FILE *c_in[MAX_COMPONENTS];
/*FILE *c_out[MAX_COMPONENTS];*/
-FILE *msgfile = stdout;
/* Context quantization thresholds - initially unset */
int T3 = -1,