$OpenBSD: patch-source_fitz_load-jpx_c,v 1.3 2016/12/12 10:54:39 sthen Exp $

- OPJ_STATIC interferes with shared lib patch for mupdf

--- source/fitz/load-jpx.c.orig	Mon Nov 28 13:34:04 2016
+++ source/fitz/load-jpx.c	Mon Dec 12 09:39:02 2016
@@ -481,14 +481,6 @@ fz_load_jpx_info(fz_context *ctx, unsigned char *data,
 
 #else /* HAVE_LURATECH */
 
-/* Without the definition of OPJ_STATIC, compilation fails on windows
- * due to the use of __stdcall. We believe it is required on some
- * linux toolchains too. */
-#define OPJ_STATIC
-#ifndef _MSC_VER
-#define OPJ_HAVE_STDINT_H
-#endif
-
 #include <openjpeg.h>
 
 /* OpenJPEG does not provide a safe mechanism to intercept
