From 1a8a092d9fefcbd7f960c82c59802c61807867a6 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 17 Jun 2016 23:28:04 +0000 Subject: Rename all files containing a : in their filename. While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight --- print/ghostscript8-base/files/patch-base_sjpx.c | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 print/ghostscript8-base/files/patch-base_sjpx.c (limited to 'print/ghostscript8-base/files/patch-base_sjpx.c') diff --git a/print/ghostscript8-base/files/patch-base_sjpx.c b/print/ghostscript8-base/files/patch-base_sjpx.c new file mode 100644 index 000000000000..298a5af1bb08 --- /dev/null +++ b/print/ghostscript8-base/files/patch-base_sjpx.c @@ -0,0 +1,35 @@ +Submitted By: Ken Moffat +Date: 2009-02-11 +Initial Package Version: 8.63 (well, it's needed for 8.63, obviously ex 8.61) +Upstream Status: unknown +Origin: fedora +Description: Allows gnu-ghostscript to compile against external libjasper. + To do that, you need to remove the jasper/ directory. The included version +is 1.701 which is somewhat old. Forward-ported to 8.64 (the structure of +the file source tree has changed) by km. + +--- base/sjpx.c.orig 2009-06-18 05:16:48 UTC ++++ base/sjpx.c +@@ -33,14 +33,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. +@@ -58,7 +50,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); -- cgit v1.2.3