forked from pool/mupdf
c2ba1b5927
* A bug with mutool and saving PDF files using the 'ascii' option has been fixed. - Add fix-openjpeg-flags.patch to stop defining OPJ_STATIC, this is https://github.com/uclouvain/openjpeg/issues/802 OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=43
16 lines
547 B
Diff
16 lines
547 B
Diff
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
|