# HG changeset patch # User Christopher Rogers # Date 1286745629 0 # Node ID ee9cedfa74b6d8cee935765ec66a57869262b968 # Parent 753e7438e58e2b5819854447ac61c4d871202c6e Added missing patch for ghostscript. diff -r 753e7438e58e -r ee9cedfa74b6 ghostscript/stuff/ghostscript-system-jasper.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ghostscript/stuff/ghostscript-system-jasper.patch Sun Oct 10 21:20:29 2010 +0000 @@ -0,0 +1,26 @@ +diff -up ghostscript-8.64/base/sjpx.c.system-jasper ghostscript-8.64/base/sjpx.c +--- ghostscript-8.64/base/sjpx.c.system-jasper 2008-08-21 00:22:49.000000000 +0100 ++++ ghostscript-8.64/base/sjpx.c 2009-02-04 11:35:56.000000000 +0000 +@@ -34,14 +34,6 @@ static void s_jpxd_set_defaults(stream_s + private_st_jpxd_state(); /* creates a gc object for our state, + defined in sjpx.h */ + +-/* error reporting callback for the jpx library */ +-static void +-s_jpx_jas_error_cb(jas_error_t err, char *msg) +-{ +- dprintf2("jasper (code %d) %s", (int)err, msg); +-} +- +- + /* initialize the steam. + this involves allocating the stream and image structures, and + initializing the decoder. +@@ -59,7 +51,6 @@ s_jpxd_init(stream_state * ss) + } + + status = jas_init(); +- jas_set_error_cb(s_jpx_jas_error_cb); + #ifdef JPX_DEBUG + /* raise the error reporting threshold from the default (0) */ + jas_setdbglevel(1);