summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-10-30 13:59:41 +0800
committerKhem Raj <raj.khem@gmail.com>2020-11-02 09:00:52 -0800
commit43448e97f1b66becc5f550548e6301934ce8888f (patch)
tree9592640f09bbf5a0819cbbfc91e52078ef495e7c
parentf604ed19d2312f296555986f52e1a432b092a4a4 (diff)
downloadmeta-openembedded-43448e97f1b66becc5f550548e6301934ce8888f.tar.gz
toybox: upgrade 0.8.3 -> 0.8.4
0001-Tackle-SIGEMT-and-SIGSTKFLT-is-not-glibc-specific.patch mips-no-STKFLT.patch Removed since these are included in 0.8.4 Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-core/toybox/toybox/0001-Tackle-SIGEMT-and-SIGSTKFLT-is-not-glibc-specific.patch30
-rw-r--r--meta-oe/recipes-core/toybox/toybox/mips-no-STKFLT.patch25
-rw-r--r--meta-oe/recipes-core/toybox/toybox_0.8.4.bb (renamed from meta-oe/recipes-core/toybox/toybox_0.8.3.bb)4
3 files changed, 1 insertions, 58 deletions
diff --git a/meta-oe/recipes-core/toybox/toybox/0001-Tackle-SIGEMT-and-SIGSTKFLT-is-not-glibc-specific.patch b/meta-oe/recipes-core/toybox/toybox/0001-Tackle-SIGEMT-and-SIGSTKFLT-is-not-glibc-specific.patch
deleted file mode 100644
index faabc597ee..0000000000
--- a/meta-oe/recipes-core/toybox/toybox/0001-Tackle-SIGEMT-and-SIGSTKFLT-is-not-glibc-specific.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 9e5b1420b89813ee3c58c2b792077fa8bb71f327 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 May 2020 13:53:27 -0700
4Subject: [PATCH] Tackle SIGEMT and SIGSTKFLT is not glibc specific
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 lib/portability.c | 5 ++++-
9 1 file changed, 4 insertions(+), 1 deletion(-)
10
11diff --git a/lib/portability.c b/lib/portability.c
12index 294141c6..1c7ebc12 100644
13--- a/lib/portability.c
14+++ b/lib/portability.c
15@@ -430,8 +430,11 @@ static const struct signame signames[] = {
16 // Non-POSIX signals that cause termination
17 SIGNIFY(PROF), SIGNIFY(IO),
18 #ifdef __linux__
19-# if !defined(__GLIBC__) && !defined(__mips__)
20+# ifdef SIGSTKFLT
21 SIGNIFY(STKFLT),
22+# endif
23+# ifdef SIGEMT
24+ SIGNIFY(EMT),
25 # endif
26 SIGNIFY(POLL), SIGNIFY(PWR),
27 #elif defined(__APPLE__)
28--
292.26.2
30
diff --git a/meta-oe/recipes-core/toybox/toybox/mips-no-STKFLT.patch b/meta-oe/recipes-core/toybox/toybox/mips-no-STKFLT.patch
deleted file mode 100644
index 7ab95932cf..0000000000
--- a/meta-oe/recipes-core/toybox/toybox/mips-no-STKFLT.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1glibc on mips is missing SIGSTKFLT
2
3Do not therefore assume it being available linuxwide
4
5Fixes
6| lib/portability.c:433:3: error: use of undeclared identifier 'SIGSTKFLT'
7| SIGNIFY(STKFLT), SIGNIFY(POLL), SIGNIFY(PWR),
8| ^
9
10Upstream-Status: Submitted [https://github.com/landley/toybox/pull/195]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12--- a/lib/portability.c
13+++ b/lib/portability.c
14@@ -430,7 +430,10 @@ static const struct signame signames[] =
15 // Non-POSIX signals that cause termination
16 SIGNIFY(PROF), SIGNIFY(IO),
17 #ifdef __linux__
18- SIGNIFY(STKFLT), SIGNIFY(POLL), SIGNIFY(PWR),
19+# if !defined(__GLIBC__) && !defined(__mips__)
20+ SIGNIFY(STKFLT),
21+# endif
22+ SIGNIFY(POLL), SIGNIFY(PWR),
23 #elif defined(__APPLE__)
24 SIGNIFY(EMT), SIGNIFY(INFO),
25 #endif
diff --git a/meta-oe/recipes-core/toybox/toybox_0.8.3.bb b/meta-oe/recipes-core/toybox/toybox_0.8.4.bb
index 1513255c46..cc98b9ec07 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.8.3.bb
+++ b/meta-oe/recipes-core/toybox/toybox_0.8.4.bb
@@ -8,10 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=78659a599b9325da368f2f1eb88f19c7"
8inherit cml1 update-alternatives 8inherit cml1 update-alternatives
9 9
10SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \ 10SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \
11 file://mips-no-STKFLT.patch \
12 file://0001-Tackle-SIGEMT-and-SIGSTKFLT-is-not-glibc-specific.patch \
13 " 11 "
14SRC_URI[sha256sum] = "eab28fd29d19d4e61ef09704e5871940e6f35fd35a3bb1285e41f204504b5c01" 12SRC_URI[sha256sum] = "cb2a565a8d30015d08d73628795dca51a85b99b149aeabbbecd9e8dbdbd8fddc"
15 13
16SECTION = "base" 14SECTION = "base"
17 15