pkgsrc/graphics/jasper/patches/patch-ag
adam 588f1a067d Changes 1.701.0:
* A preliminary attempt at a color management subsystem has been added to JasPer
* Previously, the configure process did not generate a configuration header file
* Temporary files created with the jas_stream_tmpfile function were not
  correctly removed upon file close under Microsoft Windows
* An option has been added to the JPEG encoder to allow a quality factor to be
  specified
* A new make target has been added for RPM building
* The code now compiles with many fewer warnings on most platforms
* The JasPer software license has been made slightly less restrictive
* The configure-based build process has been updated to use newer versions of
  the GNU configure tools
2004-03-02 10:28:18 +00:00

15 lines
410 B
Text

$NetBSD: patch-ag,v 1.2 2004/03/02 10:28:18 adam Exp $
--- src/libjasper/jpc/jpc_dec.c.orig 2004-02-09 01:34:40.000000000 +0000
+++ src/libjasper/jpc/jpc_dec.c
@@ -1472,7 +1472,9 @@ static int jpc_dec_process_unk(jpc_dec_t
dec = 0;
fprintf(stderr, "warning: ignoring unknown marker segment\n");
- jpc_ms_dump(ms, stderr);
+ if (jas_getdbglevel() >= 1) {
+ jpc_ms_dump(ms, stderr);
+ }
return 0;
}