aboutsummaryrefslogtreecommitdiff
path: root/ports/libmupdf/remove_opj_defines.patch
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-06-01 01:14:23 +0200
committerVictor Romero <romerosanchezv@gmail.com>2019-05-31 16:14:23 -0700
commitf2e1c52db8fe100ef91313760d6a59a13ac6e05e (patch)
tree17e780562042b10a616e5db9796b8ba780ad7491 /ports/libmupdf/remove_opj_defines.patch
parent5898891125b00a3ec2b698bc496735ab997669f5 (diff)
downloadvcpkg-f2e1c52db8fe100ef91313760d6a59a13ac6e05e.tar.gz
vcpkg-f2e1c52db8fe100ef91313760d6a59a13ac6e05e.zip
[gdcm,jbig2dec] move patches from #5169 (#6710)
* [gdcm,jbig2dec] minor fixes * [libmupdf] remove wrong vs define * [gdcm] internal libs do not export symbols and fail to build when non-static
Diffstat (limited to 'ports/libmupdf/remove_opj_defines.patch')
-rw-r--r--ports/libmupdf/remove_opj_defines.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/libmupdf/remove_opj_defines.patch b/ports/libmupdf/remove_opj_defines.patch
new file mode 100644
index 000000000..ec591d367
--- /dev/null
+++ b/ports/libmupdf/remove_opj_defines.patch
@@ -0,0 +1,16 @@
+diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c
+index 65699ba..ea84778 100644
+--- a/source/fitz/load-jpx.c
++++ b/source/fitz/load-jpx.c
+@@ -445,11 +445,6 @@ fz_load_jpx_info(fz_context *ctx, const unsigned char *data, size_t size, int *w
+
+ #else /* HAVE_LURATECH */
+
+-#define OPJ_STATIC
+-#define OPJ_HAVE_INTTYPES_H
+-#if !defined(_MSC_VER) || _MSC_VER >= 1600
+-#define OPJ_HAVE_STDINT_H
+-#endif
+ #define USE_JPIP
+
+ #include <openjpeg.h>