summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/diffutils/diffutils_3.10.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-06-25 23:22:30 +0200
committerSteve Sakoman <steve@sakoman.com>2023-08-02 04:47:13 -1000
commit9cc273574976538e3314dd907ce18c31d36cab3f (patch)
tree0f38af6f26ad60cc284dcaa8834cd0e058aeafcf /meta/recipes-extended/diffutils/diffutils_3.10.bb
parent7658d8f2c979a23278be653d87bfecedccd77577 (diff)
downloadpoky-9cc273574976538e3314dd907ce18c31d36cab3f.tar.gz
diffutils: update 3.9 -> 3.10
* Noteworthy changes in release 3.10 (2023-05-21) [stable] ** Bug fixes cmp/diff can again work with file dates past Y2K38 [bug introduced in 3.9] diff -D no longer fails to output #ifndef lines. [bug#61193 introduced in 3.9] Remove the comment addition from the patch body, as it increases likelyhood of rebase conflicts, and repeats what the commit says. (From OE-Core rev: ab9ae300ce3895cdf64d207b5dc281b65c984211) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 925155acc6922f7e9df2afa45e79ad1b2c57ba24) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 21e40166870fadee986fb36be80019d3bcdb69e5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils_3.10.bb')
-rw-r--r--meta/recipes-extended/diffutils/diffutils_3.10.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.10.bb b/meta/recipes-extended/diffutils/diffutils_3.10.bb
new file mode 100644
index 0000000000..08e8305612
--- /dev/null
+++ b/meta/recipes-extended/diffutils/diffutils_3.10.bb
@@ -0,0 +1,43 @@
1LICENSE = "GPL-3.0-or-later"
2LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
3
4require diffutils.inc
5
6SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
7 file://run-ptest \
8 file://0001-Skip-strip-trailing-cr-test-case.patch \
9 "
10
11SRC_URI[sha256sum] = "90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e"
12
13EXTRA_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
16CFLAGS:mingw32 = " -DSA_RESTART=0"
17
18# Fix "Argument list too long" error when len(TMPDIR) = 410
19acpaths = "-I ./m4"
20
21EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'"
22inherit ptest
23
24RDEPENDS:${PN}-ptest += "make perl"
25
26do_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}