diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-02-29 19:41:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-09 16:58:12 +0000 |
commit | ee8ff4263476f2f5c45c08b212e0e7423e6abedf (patch) | |
tree | da96eda24a596dca6255ac8b61542e96ee842f01 /meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch | |
parent | 3f5725c8458e31a2403ba643a5de0ada42f7e277 (diff) | |
download | poky-ee8ff4263476f2f5c45c08b212e0e7423e6abedf.tar.gz |
ghostscript: 9.16 -> 9.18
- Backport patches to fix build failure caused by
'--without-jbig2dec' and '--without-jbig2dec'.
...
|make[1]: *** No rule to make target `obj/sjbig2_.dev',
needed by `obj/sjbig2.dev'. Stop.
...
http://bugs.ghostscript.com/show_bug.cgi?id=696497
- Previously, it did not build the whole local libpng
source in ghostscript, only picked up specific files
and compile them. But on ghostscript 9.18, when the
arm's FPU has been set to NEON (-mfpu=neon * with GCC),
the selected file "libpng/pngrutil.c" needs to link
'png_init_filter_functions_neon' which should be
compiled by a non-selected file "libpng/arm/arm_init.c".
...
|./obj/pngrutil.o: In function `png_init_filter_functions':
|armv7a-neon-poky-linux-gnueabi/ghostscript/9.18-r0/build/../
ghostscript-9.18/libpng/pngrutil.c:3921: undefined reference to
`png_init_filter_functions_neon'
...
So do not compile local libpng source in ghostscript,
use shared libpng to instead.
(From OE-Core rev: c7da39c43fc20e634c45212151400c663b39399a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch')
-rw-r--r-- | meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch b/meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch new file mode 100644 index 0000000000..fcfc479fbc --- /dev/null +++ b/meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | From 3b43f93ec02611c4d554612953f5b64765b8683b Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Liddell <chris.liddell@artifex.com> | ||
3 | Date: Wed, 13 Jan 2016 02:14:55 -0500 | ||
4 | Subject: [PATCH 2/2] Bug 696497 (part 2): fix support for building with a JPX | ||
5 | decoder | ||
6 | |||
7 | Author: Chris Liddell <chris.liddell@artifex.com> | ||
8 | |||
9 | Upstream-Status: Backport | ||
10 | http://bugs.ghostscript.com/show_bug.cgi?id=696497 | ||
11 | http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b0f5a975 | ||
12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
13 | --- | ||
14 | base/lib.mak | 3 +++ | ||
15 | psi/int.mak | 3 +++ | ||
16 | 2 files changed, 6 insertions(+) | ||
17 | |||
18 | diff --git a/base/lib.mak b/base/lib.mak | ||
19 | index daa7056..8853dd5 100644 | ||
20 | --- a/base/lib.mak | ||
21 | +++ b/base/lib.mak | ||
22 | @@ -1774,6 +1774,9 @@ $(GLOBJ)sjpx.$(OBJ) : $(GLSRC)sjpx.c $(AK) \ | ||
23 | $(gdebug_h) $(strimpl_h) $(sjpx_h) $(MAKEDIRS) | ||
24 | $(GLJASCC) $(GLO_)sjpx.$(OBJ) $(C_) $(GLSRC)sjpx.c | ||
25 | |||
26 | +$(GLD)sjpx_.dev : $(LIB_MAK) $(ECHOGS_XE) $(LIB_MAK) $(MAKEDIRS) | ||
27 | + $(SETMOD) $(GLD)sjpx_ | ||
28 | + | ||
29 | # luratech version | ||
30 | sjpx_luratech=$(GLOBJ)sjpx_luratech.$(OBJ) | ||
31 | $(GLD)sjpx_luratech.dev : $(LIB_MAK) $(ECHOGS_XE) \ | ||
32 | diff --git a/psi/int.mak b/psi/int.mak | ||
33 | index f9d667d..db01b65 100644 | ||
34 | --- a/psi/int.mak | ||
35 | +++ b/psi/int.mak | ||
36 | @@ -1290,6 +1290,9 @@ $(PSD)jpx.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)jpx_$(JPX_LIB).dev\ | ||
37 | $(MAKEDIRS) | ||
38 | $(CP_) $(PSD)jpx_$(JPX_LIB).dev $(PSD)jpx.dev | ||
39 | |||
40 | +$(PSD)jpx_.dev : $(ECHOGS_XE) $(INT_MAK) $(MAKEDIRS) | ||
41 | + $(SETMOD) $(PSD)jpx_ | ||
42 | + | ||
43 | fjpx_luratech=$(PSOBJ)zfjpx_luratech.$(OBJ) | ||
44 | |||
45 | $(PSOBJ)zfjpx.$(OBJ) : $(PSSRC)zfjpx.c $(OP) $(memory__h)\ | ||
46 | -- | ||
47 | 1.9.1 | ||
48 | |||