diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2017-07-24 17:51:09 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-27 22:36:53 +0100 |
| commit | dba27e245e37eb1ffb0c086a0d709deda29eee12 (patch) | |
| tree | 2e39c4d0f0be6c93f022bcb93a26c5c4602388dc /meta/recipes-extended/diffutils/diffutils_3.6.bb | |
| parent | e1e723db1dd085ca3baa22aa5811f3d90d00de13 (diff) | |
| download | poky-dba27e245e37eb1ffb0c086a0d709deda29eee12.tar.gz | |
diffutils: upgrade to 3.6
diffutils-3.5-gcc7.patch is removed as it's merged in this version.
do_configure_prepend is removed to solve the following configure error.
error: possibly undefined macro: gl_TYPE_WINT_T_PREREQ
A workaround patch is made to fix the following compilation error for glibc.
error: dereferencing pointer to incomplete type 'const struct rpl_option'
(From OE-Core rev: 0c09f9f5700696670b2a9d0466124309100eb296)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils_3.6.bb')
| -rw-r--r-- | meta/recipes-extended/diffutils/diffutils_3.6.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.6.bb b/meta/recipes-extended/diffutils/diffutils_3.6.bb new file mode 100644 index 0000000000..a2ea484d88 --- /dev/null +++ b/meta/recipes-extended/diffutils/diffutils_3.6.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 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 | SRC_URI_append_libc-glibc = " file://0001-explicitly-disable-replacing-getopt.patch" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "07cf286672ced26fba54cd0313bdc071" | ||
| 13 | SRC_URI[sha256sum] = "d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6" | ||
| 14 | |||
| 15 | EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix" | ||
| 16 | |||
| 17 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
| 18 | acpaths = "-I ./m4" | ||
| 19 | |||
| 20 | inherit ptest | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | t=${D}${PTEST_PATH} | ||
| 24 | install -D ${S}/build-aux/test-driver $t/build-aux/test-driver | ||
| 25 | cp -r ${S}/tests $t/ | ||
| 26 | install ${B}/tests/Makefile $t/tests/ | ||
| 27 | sed -e 's|^Makefile:|_Makefile:|' \ | ||
| 28 | -e 's|bash|sh|' \ | ||
| 29 | -e 's|^top_srcdir = \(.*\)|top_srcdir = ..\/|' \ | ||
| 30 | -e 's|^srcdir = \(.*\)|srcdir = .|' \ | ||
| 31 | -e 's|"`$(built_programs)`"|diff|' \ | ||
| 32 | -e 's|gawk|awk|g' \ | ||
| 33 | -i $t/tests/Makefile | ||
| 34 | } | ||
