diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-02-08 08:20:54 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-24 16:41:46 +0000 |
| commit | 1eeda313f6871e8ed21f0770d3ffb6c7d7c5f0ec (patch) | |
| tree | 428faa614b52bd8f7862e4a62f6fa3dd97760e16 /meta/recipes-extended/diffutils/diffutils_3.9.bb | |
| parent | 2a00f15354084cee6b2183fcdbfdfc7826c365da (diff) | |
| download | poky-1eeda313f6871e8ed21f0770d3ffb6c7d7c5f0ec.tar.gz | |
diffutils: update 3.8 -> 3.9
NEWS
* Noteworthy changes in release 3.9 (2023-01-15) [stable]
** Bug fixes
diff -c and -u no longer output incorrect timezones in headers
on platforms like Solaris where struct tm lacks tm_gmtoff.
[bug#51228 introduced in 3.4]
Drop patch as issue fixed upstream.
(From OE-Core rev: 686bb89d7553f48c029b6f6d79c88304f2dc0c55)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5ec5de7217de28bccf3243496df6b41ca8a1d0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 6bf52987a82370a1353399a480271a76237e7619)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils_3.9.bb')
| -rw-r--r-- | meta/recipes-extended/diffutils/diffutils_3.9.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.9.bb b/meta/recipes-extended/diffutils/diffutils_3.9.bb new file mode 100644 index 0000000000..2bb9e6f32d --- /dev/null +++ b/meta/recipes-extended/diffutils/diffutils_3.9.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | LICENSE = "GPL-3.0-or-later" | ||
| 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://run-ptest \ | ||
| 8 | file://0001-Skip-strip-trailing-cr-test-case.patch \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1" | ||
| 12 | |||
| 13 | EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix" | ||
| 14 | |||
| 15 | # latest gnulib is no longer able to handle this - I dare not try to fix that maze of abstractions and generators | ||
| 16 | CFLAGS:mingw32 = " -DSA_RESTART=0" | ||
| 17 | |||
| 18 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
| 19 | acpaths = "-I ./m4" | ||
| 20 | |||
| 21 | EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'" | ||
| 22 | inherit ptest | ||
| 23 | |||
| 24 | RDEPENDS:${PN}-ptest += "make perl" | ||
| 25 | |||
| 26 | do_install_ptest() { | ||
| 27 | t=${D}${PTEST_PATH} | ||
| 28 | install -D ${S}/build-aux/test-driver $t/build-aux/test-driver | ||
| 29 | cp -r ${S}/tests $t/ | ||
| 30 | install ${B}/tests/Makefile $t/tests/ | ||
| 31 | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
| 32 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
| 33 | -e 's:${HOSTTOOLS_DIR}/::g' \ | ||
| 34 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | ||
| 35 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | ||
| 36 | -e 's|^Makefile:|_Makefile:|' \ | ||
| 37 | -e 's|bash|sh|' \ | ||
| 38 | -e 's|^top_srcdir = \(.*\)|top_srcdir = ..\/|' \ | ||
| 39 | -e 's|^srcdir = \(.*\)|srcdir = .|' \ | ||
| 40 | -e 's|"`$(built_programs)`"|diff|' \ | ||
| 41 | -e 's|gawk|awk|g' \ | ||
| 42 | -i $t/tests/Makefile | ||
| 43 | } | ||
