summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch b/meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch
new file mode 100644
index 0000000000..a4ce70a9ab
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch
@@ -0,0 +1,19 @@
1Upstream-Status: Inappropriate [distribution]
2
3Make ghost script work with long building directory
4
5Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
6
7Index: base/genconf.c
8==============================================================
9--- a/base/genconf.c
10+++ b/base/genconf.c
11@@ -682,7 +682,7 @@ read_dev(config_t * pconf, const char *arg)
12 string_item_t *item;
13 const char *in;
14
15-#define MAX_TOKEN 256
16+#define MAX_TOKEN 512
17 char *token = malloc(MAX_TOKEN + 1);
18 char *category = malloc(MAX_TOKEN + 1);
19 int file_index;