wok-6.x diff ghostscript/stuff/ghostscript-system-jasper.patch @ rev 14803
slitaz-configs: up 5.1.5; slitaz-tools and slitaz-tools-boxes: up 5.4.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 16 20:16:33 2013 +0300 (2013-07-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ghostscript/stuff/ghostscript-system-jasper.patch Tue Jul 16 20:16:33 2013 +0300 1.3 @@ -0,0 +1,26 @@ 1.4 +diff -up ghostscript-8.64/base/sjpx.c.system-jasper ghostscript-8.64/base/sjpx.c 1.5 +--- ghostscript-8.64/base/sjpx.c.system-jasper 2008-08-21 00:22:49.000000000 +0100 1.6 ++++ ghostscript-8.64/base/sjpx.c 2009-02-04 11:35:56.000000000 +0000 1.7 +@@ -34,14 +34,6 @@ static void s_jpxd_set_defaults(stream_s 1.8 + private_st_jpxd_state(); /* creates a gc object for our state, 1.9 + defined in sjpx.h */ 1.10 + 1.11 +-/* error reporting callback for the jpx library */ 1.12 +-static void 1.13 +-s_jpx_jas_error_cb(jas_error_t err, char *msg) 1.14 +-{ 1.15 +- dprintf2("jasper (code %d) %s", (int)err, msg); 1.16 +-} 1.17 +- 1.18 +- 1.19 + /* initialize the steam. 1.20 + this involves allocating the stream and image structures, and 1.21 + initializing the decoder. 1.22 +@@ -59,7 +51,6 @@ s_jpxd_init(stream_state * ss) 1.23 + } 1.24 + 1.25 + status = jas_init(); 1.26 +- jas_set_error_cb(s_jpx_jas_error_cb); 1.27 + #ifdef JPX_DEBUG 1.28 + /* raise the error reporting threshold from the default (0) */ 1.29 + jas_setdbglevel(1);