Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/jasper/patches jasper: restore patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f50a5063aa25
branches:  trunk
changeset: 436199:f50a5063aa25
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 29 07:26:41 2020 +0000

description:
jasper: restore patch

diffstat:

 graphics/jasper/patches/patch-src_libjasper_jpc_jpc__dec.c |  17 ++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r 52278f30255a -r f50a5063aa25 graphics/jasper/patches/patch-src_libjasper_jpc_jpc__dec.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jasper/patches/patch-src_libjasper_jpc_jpc__dec.c        Wed Jul 29 07:26:41 2020 +0000
@@ -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