From dab2542f845bf1b6b7761f1be6fc55b9259238fe Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 21 Dec 2017 01:53:48 -0500 Subject: gnu: mupdf: Update to 1.12.0 [fixes CVE-2017-15369]. * gnu/packages/pdf.scm (mupdf): Update to 1.12.0. [source]: Remove obsolete patches. [inputs]: Add freeglut. * gnu/packages/patches/mupdf-CVE-2017-14685.patch, gnu/packages/patches/mupdf-CVE-2017-14686.patch, gnu/packages/patches/mupdf-CVE-2017-14687.patch, gnu/packages/patches/mupdf-CVE-2017-15587.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Remove them. * gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch: Update and rename to... * gnu/packages/patches/mupdf-build-with-latest-openjpeg.patch: ... new file. --- .../patches/mupdf-build-with-openjpeg-2.1.patch | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch (limited to 'gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch') diff --git a/gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch b/gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch deleted file mode 100644 index 0b5b735ff3..0000000000 --- a/gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch +++ /dev/null @@ -1,27 +0,0 @@ -Make it possible to build MuPDF with OpenJPEG 2.1, which is the latest -release series and contains many important bug fixes. - -Patch adapted from Debian: - -https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745246 - -And related to this upstream commit: - -http://git.ghostscript.com/?p=mupdf.git;a=commit;h=f88bfe2e62dbadb96d4f52d7aa025f0a516078da - -diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c -index 6b92e5c..72dea50 100644 ---- a/source/fitz/load-jpx.c -+++ b/source/fitz/load-jpx.c -@@ -444,11 +444,6 @@ - - #else /* HAVE_LURATECH */ - --#define OPJ_STATIC --#define OPJ_HAVE_INTTYPES_H --#if !defined(_WIN32) && !defined(_WIN64) --#define OPJ_HAVE_STDINT_H --#endif - #define USE_JPIP - - #include -- cgit v1.2.3