diff options
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.patch | 14 |
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 @@ | |||
1 | base/genht.c: add a preprocessor define to allow fopen calling | 1 | From 9ca6f795409b988d38dd98bc2a6ecb68a9392312 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Thu, 29 Mar 2018 16:37:40 +0800 | ||
4 | Subject: [PATCH 10/10] base/genht.c: add a preprocessor define to allow fopen | ||
5 | calling | ||
2 | 6 | ||
3 | The commit in upstream: | 7 | The commit in upstream: |
4 | http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643 | 8 | http://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 | |||
7 | that any unintential calls directly to fopen will cause an error. | 11 | that any unintential calls directly to fopen will cause an error. |
8 | 12 | ||
9 | Only exceptions are those in the platform specific code, and mkromfs.c. | 13 | Only exceptions are those in the platform specific code, and mkromfs.c. |
10 | This patch add a preprocessor define to allow fopen calling in base/genht.c. | 14 | This patch add a preprocessor define to allow fopen calling in |
15 | base/genht.c. | ||
11 | 16 | ||
12 | Upstream-Status: Pending | 17 | Upstream-Status: Pending |
13 | 18 | ||
19 | Rebase to 9.23 | ||
14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 20 | Signed-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 | ||
19 | diff --git a/base/genht.c b/base/genht.c | 25 | diff --git a/base/genht.c b/base/genht.c |
20 | index 4b04085..cc82fff 100644 | 26 | index 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 | -- |
35 | 1.8.1.2 | 41 | 1.8.3.1 |
36 | 42 | ||