diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-05-20 17:26:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-25 15:50:54 +0100 |
commit | c2d187065e81b1cef8fd6ce36dbe582866320c11 (patch) | |
tree | 3be665f386234bf5c04c905c43a2ce3652450180 /meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch | |
parent | 98e8faa2f50773f6b91dc53c893c7e31afe47f57 (diff) | |
download | poky-c2d187065e81b1cef8fd6ce36dbe582866320c11.tar.gz |
ghostscript: fix run failure on mpc8315e
When run gs on mpc8315, it fails with:
GPL Ghostscript 9.02: ./psi/interp.c(291): Fatal error -20 in gs_interp_init!
It is caused by cross compile.
Accoding to the ghostscript document on:
http://pages.cs.wisc.edu/~ghost/doc/cvs/Make.htm#Cross-compiling
it needs some manual work, so import patches from WindRiver Linux.
Update to using oe way to add arch.h, thanks to Richard.
(From OE-Core rev: debee5134a2ca505e968a6ddfb5c2f6434e3007a)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch new file mode 100644 index 0000000000..149f9fc873 --- /dev/null +++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | Import patch from windriver linux for cross compilation, and split patches | ||
2 | into oe way under different directories such as i586, powerpc etc according | ||
3 | to Richard's opinion. | ||
4 | |||
5 | Upstream-status: Pending | ||
6 | |||
7 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | ||
8 | |||
9 | # Author: Chi Xu <chi.xu@windriver.com> | ||
10 | # Date: Feb 26 2010 | ||
11 | # Summary: Generate arch.h for ppc32 | ||
12 | # | ||
13 | |||
14 | diff -Nru ghostscript-8.64.orig/base/lib.mak ghostscript-8.64/base/lib.mak | ||
15 | --- ghostscript-8.64.orig/base/lib.mak 2010-02-10 10:30:02.000000000 +0800 | ||
16 | +++ ghostscript-8.64/base/lib.mak 2010-02-10 10:56:21.000000000 +0800 | ||
17 | @@ -50,8 +50,8 @@ | ||
18 | stdpre_h=$(GLSRC)stdpre.h $(stdpn_h) | ||
19 | stdint__h=$(GLSRC)stdint_.h $(std_h) | ||
20 | |||
21 | -$(GLGEN)arch.h : $(GENARCH_XE) | ||
22 | - $(EXP)$(GENARCH_XE) $(GLGEN)arch.h | ||
23 | +##$(GLGEN)arch.h : $(GENARCH_XE) | ||
24 | +## $(EXP)$(GENARCH_XE) $(GLGEN)arch.h | ||
25 | |||
26 | # Platform interfaces | ||
27 | |||