summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/ghostscript
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2011-07-27 17:34:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 16:46:21 +0100
commit90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5 (patch)
treebe50f9d383b9a77d0c002d6d57fa4a5850b73de0 /meta/recipes-extended/ghostscript
parent19145d0cd27c5c7e732c06dee9fce4cd60cbd0b3 (diff)
downloadopenembedded-core-90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5.tar.gz
openembedded-core-90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5.tar.bz2
openembedded-core-90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5.tar.xz
openembedded-core-90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5.zip
ghostscript: fix parallel build issue
ghostscript fails some time on autobuilder, it seems a parallel build issue. Add patch to fix it. Fixes [Yocto #1202] 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')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch17
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.02.bb3
2 files changed, 19 insertions, 1 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch
new file mode 100644
index 000000000..76d167650
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch
@@ -0,0 +1,17 @@
+When parallel make it will fail with multi copy, see
+http://bugzilla.pokylinux.org/show_bug.cgi?id=1202
+
+Upstream-Status: Pending
+
+Signed-off-by: Kang Kai <kai.kang@windriver.com>
+--- ghostscript-9.02/base/unixhead.mak.orig 2011-07-27 17:06:17.749456100 +0800
++++ ghostscript-9.02/base/unixhead.mak 2011-07-27 17:06:37.449456100 +0800
+@@ -54,7 +54,7 @@
+
+ # Define generic commands.
+
+-CP_=cp
++CP_=cp -f
+ RM_=rm -f
+ RMN_=rm -f
+
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
index 02038ea63..28c6c9ec0 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
@@ -15,7 +15,7 @@ SECTION = "console/utils"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24"
-PR = "r3"
+PR = "r4"
DEPENDS = "${PN}-native tiff jpeg fontconfig cups"
DEPENDS_virtclass-native = ""
@@ -27,6 +27,7 @@ SRC_URI = "${SRC_URI_BASE} \
file://ghostscript-9.02-genarch.patch \
file://objarch.h \
file://soobjarch.h \
+ file://ghostscript-9.02-parallel-make.patch \
"
SRC_URI_virtclass-native = "${SRC_URI_BASE}"