File fix-openjpeg-flags.patch of Package mupdf

Index: mupdf-1.10a-source/source/fitz/load-jpx.c
===================================================================
--- mupdf-1.10a-source.orig/source/fitz/load-jpx.c
+++ mupdf-1.10a-source/source/fitz/load-jpx.c
@@ -481,10 +481,6 @@ fz_load_jpx_info(fz_context *ctx, unsign
 
 #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
openSUSE Build Service is sponsored by