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>
This commit is contained in:
Kang Kai 2011-07-27 17:34:45 +08:00 committed by Richard Purdie
parent 7fcb8b50c2
commit 052f04e460
2 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -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}"