Magellan Linux

Annotation of /trunk/ghostscript-gpl/patches/ghostscript-gpl-8.70-system-jasper.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 907 - (hide annotations) (download)
Mon Oct 26 18:29:14 2009 UTC (14 years, 7 months ago) by niro
File size: 922 byte(s)
patchset for ghostscript-gpl

1 niro 907 diff -up ghostscript-8.64/base/sjpx.c.system-jasper ghostscript-8.64/base/sjpx.c
2     --- ghostscript-8.64/base/sjpx.c.system-jasper 2008-08-21 00:22:49.000000000 +0100
3     +++ ghostscript-8.64/base/sjpx.c 2009-02-04 11:35:56.000000000 +0000
4     @@ -34,14 +34,6 @@ static void s_jpxd_set_defaults(stream_s
5     private_st_jpxd_state(); /* creates a gc object for our state,
6     defined in sjpx.h */
7    
8     -/* error reporting callback for the jpx library */
9     -static void
10     -s_jpx_jas_error_cb(jas_error_t err, char *msg)
11     -{
12     - dprintf2("jasper (code %d) %s", (int)err, msg);
13     -}
14     -
15     -
16     /* initialize the steam.
17     this involves allocating the stream and image structures, and
18     initializing the decoder.
19     @@ -59,7 +51,6 @@ s_jpxd_init(stream_state * ss)
20     }
21    
22     status = jas_init();
23     - jas_set_error_cb(s_jpx_jas_error_cb);
24     #ifdef JPX_DEBUG
25     /* raise the error reporting threshold from the default (0) */
26     jas_setdbglevel(1);