pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/jasper/patches



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jul 29 07:26:41 UTC 2020

Added Files:
        pkgsrc/graphics/jasper/patches: patch-src_libjasper_jpc_jpc__dec.c

Log Message:
jasper: restore patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.6 \
    pkgsrc/graphics/jasper/patches/patch-src_libjasper_jpc_jpc__dec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/jasper/patches/patch-src_libjasper_jpc_jpc__dec.c
diff -u /dev/null pkgsrc/graphics/jasper/patches/patch-src_libjasper_jpc_jpc__dec.c:1.6
--- /dev/null   Wed Jul 29 07:26:41 2020
+++ pkgsrc/graphics/jasper/patches/patch-src_libjasper_jpc_jpc__dec.c   Wed Jul 29 07:26:41 2020
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Only print on debug >= 1.
+
+--- src/libjasper/jpc/jpc_dec.c.old    2016-03-31 14:47:00.000000000 +0200
++++ src/libjasper/jpc/jpc_dec.c        2016-03-31 14:48:20.000000000 +0200
+@@ -1565,7 +1565,9 @@ static int jpc_dec_process_unk(jpc_dec_t
+ 
+       jas_eprintf("warning: ignoring unknown marker segment (0x%x)\n",
+         ms->id);
+-      jpc_ms_dump(ms, stderr);
++      if (jas_getdbglevel() >= 1) {
++              jpc_ms_dump(ms, stderr);
++      }
+       return 0;
+ }
+ 



Home | Main Index | Thread Index | Old Index