From 90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5 Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Wed, 27 Jul 2011 17:34:45 +0800 Subject: 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 Signed-off-by: Richard Purdie --- .../ghostscript/ghostscript-9.02-parallel-make.patch | 17 +++++++++++++++++ meta/recipes-extended/ghostscript/ghostscript_9.02.bb | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch 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 +--- 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}" -- cgit 1.2.3-korg