diff options
author | Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2016-12-02 03:03:57 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-07 10:38:06 +0000 |
commit | f0c44d24edec0c1c7fa447e99d25c378f672b0f3 (patch) | |
tree | ca280516adc2d0b3c836fbb8725910029ac6d96d /meta/recipes-extended/diffutils/diffutils_3.5.bb | |
parent | 9c9b303463a785ab7c0cbf33e70a23dc0364b0fa (diff) | |
download | poky-f0c44d24edec0c1c7fa447e99d25c378f672b0f3.tar.gz |
diffutils: 3.4 -> 3.5
Upgrade diffutils from 3.4 to 3.5.
(From OE-Core rev: a718c845b5274858eff297eacf5a3a02cd5c0ae8)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils_3.5.bb')
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils_3.5.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.5.bb b/meta/recipes-extended/diffutils/diffutils_3.5.bb new file mode 100644 index 0000000000..673f5d46ca --- /dev/null +++ b/meta/recipes-extended/diffutils/diffutils_3.5.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | LICENSE = "GPLv3+" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
3 | |||
4 | require diffutils.inc | ||
5 | |||
6 | SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \ | ||
7 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | |||
11 | EXTRA_OECONF += "--without-libsigsegv-prefix" | ||
12 | |||
13 | do_configure_prepend () { | ||
14 | # Need to remove gettext macros with weird mix of versions | ||
15 | for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do | ||
16 | rm -f ${S}/m4/$i | ||
17 | done | ||
18 | } | ||
19 | |||
20 | SRC_URI[md5sum] = "569354697ff1cfc9a9de3781361015fa" | ||
21 | SRC_URI[sha256sum] = "dad398ccd5b9faca6b0ab219a036453f62a602a56203ac659b43e889bec35533" | ||
22 | |||
23 | inherit ptest | ||
24 | |||
25 | do_install_ptest() { | ||
26 | t=${D}${PTEST_PATH} | ||
27 | install -D ${S}/build-aux/test-driver $t/build-aux/test-driver | ||
28 | cp -r ${S}/tests $t/ | ||
29 | install ${B}/tests/Makefile $t/tests/ | ||
30 | sed -e 's|^Makefile:|_Makefile:|' \ | ||
31 | -e 's|bash|sh|' \ | ||
32 | -e 's|^top_srcdir = \(.*\)|top_srcdir = ..\/|' \ | ||
33 | -e 's|^srcdir = \(.*\)|srcdir = .|' \ | ||
34 | -e 's|"`$(built_programs)`"|diff|' \ | ||
35 | -e 's|gawk|awk|g' \ | ||
36 | -i $t/tests/Makefile | ||
37 | } | ||