diff options
author | wangmy <wangmy@fujitsu.com> | 2021-06-15 10:12:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-17 00:07:05 +0100 |
commit | 3f51d9e627503d6e744dbf327106940d1b3020c0 (patch) | |
tree | 4fc9f3c299681f5eb79c53803353c13e4adfa925 /meta/recipes-devtools/m4/m4-1.4.18.inc | |
parent | 3d76fca34b3ff2984b06560faa8399515d19b6e2 (diff) | |
download | poky-3f51d9e627503d6e744dbf327106940d1b3020c0.tar.gz |
m4: upgrade 1.4.18 -> 1.4.19
0001-Unset-need_charset_alias-when-building-for-musl.patch
0001-c-stack-stop-using-SIGSTKSZ.patch
0001-test-getopt-posix-fix.patch
m4-1.4.18-glibc-change-work-around.patch
deleted since they are included in 1.4.19
refresh ac_config_links.patch
License-update: URL of license changed
(From OE-Core rev: c61358d84d83f0fbd8b2fbe2659ed547e0c046a4)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/m4/m4-1.4.18.inc')
-rw-r--r-- | meta/recipes-devtools/m4/m4-1.4.18.inc | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/meta/recipes-devtools/m4/m4-1.4.18.inc b/meta/recipes-devtools/m4/m4-1.4.18.inc deleted file mode 100644 index 6475b02f8b..0000000000 --- a/meta/recipes-devtools/m4/m4-1.4.18.inc +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | SUMMARY = "Traditional Unix macro processor" | ||
2 | HOMEPAGE = "https://www.gnu.org/software/m4/m4.html" | ||
3 | DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 \ | ||
4 | compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \ | ||
5 | GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc." | ||
6 | |||
7 | inherit autotools texinfo ptest | ||
8 | |||
9 | SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \ | ||
10 | file://ac_config_links.patch \ | ||
11 | file://m4-1.4.18-glibc-change-work-around.patch \ | ||
12 | file://0001-c-stack-stop-using-SIGSTKSZ.patch \ | ||
13 | " | ||
14 | SRC_URI_append_class-target = " file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ | ||
15 | file://run-ptest \ | ||
16 | file://serial-tests-config.patch \ | ||
17 | file://0001-test-getopt-posix-fix.patch \ | ||
18 | " | ||
19 | |||
20 | SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28" | ||
21 | SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab" | ||
22 | |||
23 | LICENSE = "GPLv3" | ||
24 | |||
25 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ | ||
26 | file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede" | ||
27 | |||
28 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
29 | acpaths = "-I ./m4" | ||
30 | |||
31 | EXTRA_OECONF += "--without-libsigsegv-prefix" | ||
32 | |||
33 | EXTRA_OEMAKE += "'infodir=${infodir}'" | ||
34 | |||
35 | do_compile_ptest() { | ||
36 | cd ${B}/tests | ||
37 | sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile | ||
38 | oe_runmake buildtest-TESTS | ||
39 | } | ||
40 | |||
41 | do_install_ptest() { | ||
42 | cp -r ${B}/tests ${D}${PTEST_PATH} | ||
43 | cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
44 | sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile | ||
45 | sed -i -e "s;LOCALE_FR='fr_FR';LOCALE_FR='fr_FR.iso88591';g" \ | ||
46 | -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile | ||
47 | find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {} | ||
48 | cp ${S}/build-aux/update-copyright ${D}${PTEST_PATH}/tests/ | ||
49 | sed -i 's;update-copyright;./update-copyright;g' ${D}${PTEST_PATH}/tests/test-update-copyright.sh | ||
50 | chmod 0755 ${D}${PTEST_PATH}/tests/test-mbrtowc-w32-1.sh ${D}${PTEST_PATH}/tests/test-spawn-pipe-main \ | ||
51 | ${D}${PTEST_PATH}/tests/test-spawn-pipe-child ${D}${PTEST_PATH}/tests/test-version-etc \ | ||
52 | ${D}${PTEST_PATH}/tests/test-xalloc-die | ||
53 | } | ||
54 | |||
55 | |||
56 | RDEPENDS_${PN}-ptest += "make coreutils diffutils" | ||
57 | RDEPENDS_${PN}-ptest_append_libc-glibc = "\ | ||
58 | locale-base-fr-fr.iso-8859-1 \ | ||
59 | " | ||
60 | |||
61 | INSANE_SKIP_${PN}-ptest += "ldflags" | ||
62 | INSANE_SKIP_${PN}-ptest += "rpaths" | ||
63 | |||