aboutsummaryrefslogtreecommitdiffstats
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:30 +0100
commit052f04e460f8d697083ae4875eb20edaee7748b5 (patch)
treec6a64de09de73df9fed502d0d0a074b8728ead78 /meta/recipes-extended/ghostscript
parent7fcb8b50c2c5612559bc5ebd50980620c029567a (diff)
downloadopenembedded-core-contrib-052f04e460f8d697083ae4875eb20edaee7748b5.tar.gz
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] (From OE-Core rev: 90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5) 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 0000000000..76d167650d
--- /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 02038ea632..28c6c9ec01 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}"