summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/bash/bash.inc8
-rw-r--r--meta/recipes-extended/bash/bash/use_aclocal.patch69
-rw-r--r--meta/recipes-extended/bash/bash_5.2.37.bb1
3 files changed, 1 insertions, 77 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 66058feff3..634209c911 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -7,7 +7,7 @@ DEPENDS = "ncurses bison-native virtual/libiconv"
7 7
8inherit autotools gettext texinfo update-alternatives ptest 8inherit autotools gettext texinfo update-alternatives ptest
9 9
10EXTRA_AUTORECONF += "--exclude=autoheader" 10EXTRA_AUTORECONF += "--exclude=autoheader,aclocal"
11EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" 11EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8"
12 12
13# If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the 13# If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the
@@ -46,12 +46,6 @@ RDEPENDS:${PN}-ptest:append:libc-glibc = " \
46 46
47CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" 47CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}"
48 48
49do_configure:prepend () {
50 if [ ! -e ${S}/acinclude.m4 ]; then
51 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
52 fi
53}
54
55do_compile:prepend() { 49do_compile:prepend() {
56 # Remove any leftover .build files. This ensures that bash always has the 50 # Remove any leftover .build files. This ensures that bash always has the
57 # same version number and keeps builds reproducible 51 # same version number and keeps builds reproducible
diff --git a/meta/recipes-extended/bash/bash/use_aclocal.patch b/meta/recipes-extended/bash/bash/use_aclocal.patch
deleted file mode 100644
index e966b037a2..0000000000
--- a/meta/recipes-extended/bash/bash/use_aclocal.patch
+++ /dev/null
@@ -1,69 +0,0 @@
1From b3a64702fa1978463c01bd5d9fe711e4628aba1e Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 28 Dec 2020 21:04:27 +0100
4Subject: [PATCH] bash: update 5.0 -> 5.1
5
6Including m4 files directly like this confuses autotools.bbclass, remove
7the references and rely upon aclocal to collect the m4 files together
8as needed instead making it work like other autotools based projects.
9
10Upstream-Status: Inappropriate [OE configuration specific]
11RP 2021/1/20
12---
13 configure.ac | 43 -------------------------------------------
14 1 file changed, 43 deletions(-)
15
16diff --git a/configure.ac b/configure.ac
17index 50a6e20..a3b5bd7 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -710,49 +710,6 @@ if test x$SIZE = x; then
21 fi
22 AC_SUBST(SIZE)
23
24-m4_include([m4/stat-time.m4])
25-m4_include([m4/timespec.m4])
26-
27-m4_include([m4/strtoimax.m4])
28-
29-dnl include files for gettext
30-
31-m4_include([m4/codeset.m4])
32-m4_include([m4/extern-inline.m4])
33-m4_include([m4/fcntl-o.m4])
34-m4_include([m4/gettext.m4])
35-m4_include([m4/glibc2.m4])
36-m4_include([m4/glibc21.m4])
37-m4_include([m4/host-cpu-c-abi.m4])
38-m4_include([m4/iconv.m4])
39-m4_include([m4/intdiv0.m4])
40-m4_include([m4/intl.m4])
41-m4_include([m4/intlmacosx.m4])
42-m4_include([m4/intl-thread-locale.m4])
43-m4_include([m4/intmax.m4])
44-m4_include([m4/inttypes-pri.m4])
45-m4_include([m4/inttypes.m4])
46-m4_include([m4/inttypes_h.m4])
47-m4_include([m4/lcmessage.m4])
48-m4_include([m4/lib-ld.m4])
49-m4_include([m4/lib-link.m4])
50-m4_include([m4/lib-prefix.m4])
51-m4_include([m4/lock.m4])
52-m4_include([m4/nls.m4])
53-m4_include([m4/po.m4])
54-m4_include([m4/printf-posix.m4])
55-m4_include([m4/progtest.m4])
56-m4_include([m4/pthread_rwlock_rdlock.m4])
57-m4_include([m4/size_max.m4])
58-m4_include([m4/stdint_h.m4])
59-m4_include([m4/threadlib.m4])
60-m4_include([m4/uintmax_t.m4])
61-m4_include([m4/ulonglong.m4])
62-m4_include([m4/visibility.m4])
63-m4_include([m4/wchar_t.m4])
64-m4_include([m4/wint_t.m4])
65-m4_include([m4/xsize.m4])
66-
67 dnl C compiler characteristics
68 AC_C_CONST
69 AC_C_INLINE
diff --git a/meta/recipes-extended/bash/bash_5.2.37.bb b/meta/recipes-extended/bash/bash_5.2.37.bb
index 3dcaefa374..20c51ecdbc 100644
--- a/meta/recipes-extended/bash/bash_5.2.37.bb
+++ b/meta/recipes-extended/bash/bash_5.2.37.bb
@@ -11,7 +11,6 @@ SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
11 file://run-ptest \ 11 file://run-ptest \
12 file://run-bash-ptests \ 12 file://run-bash-ptests \
13 file://fix-run-builtins.patch \ 13 file://fix-run-builtins.patch \
14 file://use_aclocal.patch \
15 file://0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch \ 14 file://0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch \
16 file://fix-filesubst-errexit.patch \ 15 file://fix-filesubst-errexit.patch \
17 " 16 "