summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch
diff options
context:
space:
mode:
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.patch14
1 files changed, 10 insertions, 4 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
index d97d4ecd7d..7d80066a80 100644
--- 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
@@ -1,4 +1,8 @@
1base/genht.c: add a preprocessor define to allow fopen calling 1From 9ca6f795409b988d38dd98bc2a6ecb68a9392312 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 29 Mar 2018 16:37:40 +0800
4Subject: [PATCH 10/10] base/genht.c: add a preprocessor define to allow fopen
5 calling
2 6
3The commit in upstream: 7The commit in upstream:
4http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643 8http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643
@@ -7,17 +11,19 @@ Replace all fopen calls with gp_fopen and add a preprocessor define so
7that any unintential calls directly to fopen will cause an error. 11that any unintential calls directly to fopen will cause an error.
8 12
9Only exceptions are those in the platform specific code, and mkromfs.c. 13Only 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. 14This patch add a preprocessor define to allow fopen calling in
15base/genht.c.
11 16
12Upstream-Status: Pending 17Upstream-Status: Pending
13 18
19Rebase to 9.23
14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 20Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15--- 21---
16 base/genht.c | 4 ++++ 22 base/genht.c | 4 ++++
17 1 file changed, 4 insertions(+) 23 1 file changed, 4 insertions(+)
18 24
19diff --git a/base/genht.c b/base/genht.c 25diff --git a/base/genht.c b/base/genht.c
20index 4b04085..cc82fff 100644 26index e597e72..e96bfb5 100644
21--- a/base/genht.c 27--- a/base/genht.c
22+++ b/base/genht.c 28+++ b/base/genht.c
23@@ -16,6 +16,10 @@ 29@@ -16,6 +16,10 @@
@@ -32,5 +38,5 @@ index 4b04085..cc82fff 100644
32 #include "string_.h" 38 #include "string_.h"
33 #include "gscdefs.h" 39 #include "gscdefs.h"
34-- 40--
351.8.1.2 411.8.3.1
36 42