diff options
Diffstat (limited to 'graphics/jpeg_ls/patches/patch-ak')
-rw-r--r-- | graphics/jpeg_ls/patches/patch-ak | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/jpeg_ls/patches/patch-ak b/graphics/jpeg_ls/patches/patch-ak new file mode 100644 index 00000000000..495ddd4befb --- /dev/null +++ b/graphics/jpeg_ls/patches/patch-ak @@ -0,0 +1,25 @@ +$NetBSD: patch-ak,v 1.1 2005/12/30 23:23:54 joerg Exp $ + +--- Encoder/encoder.c.orig 2005-12-30 23:14:44.000000000 +0000 ++++ Encoder/encoder.c +@@ -102,6 +102,8 @@ int lutmax; /* lutmax is either 256 + int bpp16; /* Indicates if 16 bits per pixel mode or not */ + char *mappingtablefilename=NULL; /* Mapping table filename */ + ++static FILE *msgfile; ++ + /* reset */ + #ifndef FIXRESET + int RESET; +@@ -674,9 +676,10 @@ int main (int argc, char *argv[]) { + int temp_columns; + int MCUs_counted; + +- + pixel *local_scanl0,*local_scanl1,*local_pscanline,*local_cscanline; + ++ msgfile = stdout; ++ + application_header = all_header = 0; + + /* Parse the parameters, initialize */ |