summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2012-11-30 10:33:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-03 14:32:43 +0000
commite5f6b33b0038c523cf6069a9010445eab93e585d (patch)
tree14881c4940b13231b317d9d424b3fc01ceccd9ff /meta/recipes-extended/ghostscript/ghostscript_9.05.bb
parentbc33a16984e9321ef6d367d4673a61b025912338 (diff)
downloadpoky-e5f6b33b0038c523cf6069a9010445eab93e585d.tar.gz
ghostscript: make ghostscript work with long building path
If TMPDIR has more than 256 chars, building ghostscript fails. This violates the 410 length limit of TMPDIR. This patch makes building ghostscript succeed by changing its MAX_TOKEN from 256 to 512. [YOCTO #2766] (From OE-Core rev: 30a19b7c791abcbf09193c678866df66d470a6d9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.05.bb')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.05.bb10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
index 1fdcb997e7..2789897917 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
@@ -15,7 +15,7 @@ SECTION = "console/utils"
15LICENSE = "GPLv3" 15LICENSE = "GPLv3"
16LIC_FILES_CHKSUM = "file://LICENSE;md5=c5326026692dbed183f0558f926580f8" 16LIC_FILES_CHKSUM = "file://LICENSE;md5=c5326026692dbed183f0558f926580f8"
17 17
18PR = "r3" 18PR = "r4"
19 19
20DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" 20DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
21DEPENDS_class-native = "" 21DEPENDS_class-native = ""
@@ -30,7 +30,9 @@ SRC_URI = "${SRC_URI_BASE} \
30 file://ghostscript-9.05-NOT-check-endian.patch \ 30 file://ghostscript-9.05-NOT-check-endian.patch \
31 " 31 "
32 32
33SRC_URI_class-native = "${SRC_URI_BASE}" 33SRC_URI_class-native = "${SRC_URI_BASE} \
34 file://0001-make-ghostscript-work-with-long-building-directory.patch \
35 "
34 36
35SRC_URI[md5sum] = "f7c6f0431ca8d44ee132a55d583212c1" 37SRC_URI[md5sum] = "f7c6f0431ca8d44ee132a55d583212c1"
36SRC_URI[sha256sum] = "593f77f7584704bdf9de41598a084a4208c3ad3b940a1de1faaf8f59a15cc207" 38SRC_URI[sha256sum] = "593f77f7584704bdf9de41598a084a4208c3ad3b940a1de1faaf8f59a15cc207"
@@ -80,10 +82,6 @@ do_install_append () {
80 chown -R root:lp ${D}${sysconfdir}/cups 82 chown -R root:lp ${D}${sysconfdir}/cups
81} 83}
82 84
83python do_patch_class-native () {
84 pass
85}
86
87do_compile_class-native () { 85do_compile_class-native () {
88 mkdir -p obj 86 mkdir -p obj
89 for i in genarch genconf mkromfs echogs gendev genht; do 87 for i in genarch genconf mkromfs echogs gendev genht; do