diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-07-27 17:34:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 16:46:30 +0100 |
commit | 052f04e460f8d697083ae4875eb20edaee7748b5 (patch) | |
tree | c6a64de09de73df9fed502d0d0a074b8728ead78 /meta/recipes-extended | |
parent | 7fcb8b50c2c5612559bc5ebd50980620c029567a (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch | 17 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.02.bb | 3 |
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 @@ | |||
1 | When parallel make it will fail with multi copy, see | ||
2 | http://bugzilla.pokylinux.org/show_bug.cgi?id=1202 | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | ||
7 | --- ghostscript-9.02/base/unixhead.mak.orig 2011-07-27 17:06:17.749456100 +0800 | ||
8 | +++ ghostscript-9.02/base/unixhead.mak 2011-07-27 17:06:37.449456100 +0800 | ||
9 | @@ -54,7 +54,7 @@ | ||
10 | |||
11 | # Define generic commands. | ||
12 | |||
13 | -CP_=cp | ||
14 | +CP_=cp -f | ||
15 | RM_=rm -f | ||
16 | RMN_=rm -f | ||
17 | |||
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" | |||
15 | LICENSE = "GPLv3" | 15 | LICENSE = "GPLv3" |
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" |
17 | 17 | ||
18 | PR = "r3" | 18 | PR = "r4" |
19 | 19 | ||
20 | DEPENDS = "${PN}-native tiff jpeg fontconfig cups" | 20 | DEPENDS = "${PN}-native tiff jpeg fontconfig cups" |
21 | DEPENDS_virtclass-native = "" | 21 | DEPENDS_virtclass-native = "" |
@@ -27,6 +27,7 @@ SRC_URI = "${SRC_URI_BASE} \ | |||
27 | file://ghostscript-9.02-genarch.patch \ | 27 | file://ghostscript-9.02-genarch.patch \ |
28 | file://objarch.h \ | 28 | file://objarch.h \ |
29 | file://soobjarch.h \ | 29 | file://soobjarch.h \ |
30 | file://ghostscript-9.02-parallel-make.patch \ | ||
30 | " | 31 | " |
31 | SRC_URI_virtclass-native = "${SRC_URI_BASE}" | 32 | SRC_URI_virtclass-native = "${SRC_URI_BASE}" |
32 | 33 | ||