summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2014-06-17 19:03:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-17 17:56:21 +0100
commit24ca3ae7c68c76d8f1a132bb7442d47ff725227c (patch)
tree19ff860587a8b0b9700f43931bb3e7e52ae93514 /meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch
parent1709ec7db747332777093bbb12901315d44b1798 (diff)
downloadpoky-24ca3ae7c68c76d8f1a132bb7442d47ff725227c.tar.gz
ghostscript: upgrade to 9.14
- The LICENSE added AGPL for the font files (in Resource/Font); - Rebase ghostscript-9.02-parallel-make.patch to 9.14 - Rebase ghostscript-native-fix-disable-system-libtiff.patch since base/configure.ac has been moved to configure.ac. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f1488c5aff54f37ee67759827d4298592af5dbc8 - Obsolete ghostscript-9.05-NOT-check-endian.patch, and add option '--enable-little-endian'/'--enable-big-endian' conditionally to intead. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e76dc46756e89a14a3348bce12a633d32e4fa831 - Add base-genht.c-add-a-preprocessor-define-to-allow-fope.patch for native, since the upstream replace all fopen calls with gp_fopen and add a preprocessor define so that any unintential calls directly to fopen will cause an error. This patch add a preprocessor define to allow fopen calling in base/genht.c as exceptions. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643 - Remove package ghostscript-cups, since CUPS filters gstoraster and gstopxl has been moved to cups-filters which is a free software package hosted by OpenPrinting. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9304a21699a6c17579fae32f44f5c92a37c13e2d http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters (From OE-Core rev: 44ad25519b8e290f9a98b88eeec52ba199e76431) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch b/meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch
new file mode 100644
index 0000000000..d97d4ecd7d
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch
@@ -0,0 +1,36 @@
1base/genht.c: add a preprocessor define to allow fopen calling
2
3The commit in upstream:
4http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643
5
6Replace all fopen calls with gp_fopen and add a preprocessor define so
7that any unintential calls directly to fopen will cause an error.
8
9Only exceptions are those in the platform specific code, and mkromfs.c.
10This patch add a preprocessor define to allow fopen calling in base/genht.c.
11
12Upstream-Status: Pending
13
14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15---
16 base/genht.c | 4 ++++
17 1 file changed, 4 insertions(+)
18
19diff --git a/base/genht.c b/base/genht.c
20index 4b04085..cc82fff 100644
21--- a/base/genht.c
22+++ b/base/genht.c
23@@ -16,6 +16,10 @@
24
25 /* Generate C code for compiling halftones into ROM. */
26 #include "malloc_.h"
27+
28+/* prevent gp.h from defining fopen */
29+#define fopen fopen
30+
31 #include "stdio_.h"
32 #include "string_.h"
33 #include "gscdefs.h"
34--
351.8.1.2
36