diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-26 10:27:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-31 11:56:41 +0000 |
commit | 9535f14f1b415bd4ccff1ec38bb07d9f52962a29 (patch) | |
tree | 2c0451560a172a9318b35264063b28b71f1995a8 /meta/recipes-core | |
parent | bcbbd13c636742a91dd0df12fbdf408f2f8b3a02 (diff) | |
download | poky-9535f14f1b415bd4ccff1ec38bb07d9f52962a29.tar.gz |
ell: upgrade 0.33 -> 0.35
(From OE-Core rev: 69952f5bf247fc42103a249a48213017f50e319d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/ell/ell/0001-ell-add-missing-include-in-dhcp-server.patch | 23 | ||||
-rw-r--r-- | meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch | 27 | ||||
-rw-r--r-- | meta/recipes-core/ell/ell_0.35.bb (renamed from meta/recipes-core/ell/ell_0.33.bb) | 7 |
3 files changed, 55 insertions, 2 deletions
diff --git a/meta/recipes-core/ell/ell/0001-ell-add-missing-include-in-dhcp-server.patch b/meta/recipes-core/ell/ell/0001-ell-add-missing-include-in-dhcp-server.patch new file mode 100644 index 0000000000..2460d26bdc --- /dev/null +++ b/meta/recipes-core/ell/ell/0001-ell-add-missing-include-in-dhcp-server.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From dd350f4e2258b5a638bc8fb26a6193147902d292 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?=C3=89rico=20Nogueira?= <ericonr@disroot.org> | ||
3 | Date: Mon, 30 Nov 2020 18:40:33 -0300 | ||
4 | Subject: [PATCH] ell: add missing include in dhcp-server. | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | ell/dhcp-server.c | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/ell/dhcp-server.c b/ell/dhcp-server.c | ||
13 | index c983ed4..144e83e 100644 | ||
14 | --- a/ell/dhcp-server.c | ||
15 | +++ b/ell/dhcp-server.c | ||
16 | @@ -24,6 +24,7 @@ | ||
17 | #include <config.h> | ||
18 | #endif | ||
19 | |||
20 | +#include <linux/types.h> | ||
21 | #include <net/ethernet.h> | ||
22 | #include <sys/socket.h> | ||
23 | #include <arpa/inet.h> | ||
diff --git a/meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch b/meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch new file mode 100644 index 0000000000..f0ce6f1364 --- /dev/null +++ b/meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 277e1eca67fcc23cb31be7b826d83a19d9b89bd2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 22 Dec 2020 10:30:54 +0000 | ||
4 | Subject: [PATCH] pem.c: do not use rawmemchr() | ||
5 | |||
6 | This is a glibc-only function, and causes build failures with | ||
7 | alternative libc implementations such as musl. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | ell/pem.c | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/ell/pem.c b/ell/pem.c | ||
16 | index 790f2c2..237ae02 100644 | ||
17 | --- a/ell/pem.c | ||
18 | +++ b/ell/pem.c | ||
19 | @@ -224,7 +224,7 @@ static uint8_t *pem_load_buffer(const void *buf, size_t buf_len, | ||
20 | |||
21 | /* Check that each header line has a key and a colon */ | ||
22 | while (start < end) { | ||
23 | - const char *lf = rawmemchr(start, '\n'); | ||
24 | + const char *lf = memchr(start, '\n', end - start); | ||
25 | const char *colon = memchr(start, ':', lf - start); | ||
26 | |||
27 | if (!colon) | ||
diff --git a/meta/recipes-core/ell/ell_0.33.bb b/meta/recipes-core/ell/ell_0.35.bb index 2fa05104fb..ccc54b5ff7 100644 --- a/meta/recipes-core/ell/ell_0.33.bb +++ b/meta/recipes-core/ell/ell_0.35.bb | |||
@@ -13,8 +13,11 @@ DEPENDS = "dbus" | |||
13 | 13 | ||
14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
15 | 15 | ||
16 | SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz" | 16 | SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz \ |
17 | SRC_URI[sha256sum] = "d9e40e641164150394b74b719b9726fc734f24b2cde679cf5f3be6915c34eded" | 17 | file://0001-ell-add-missing-include-in-dhcp-server.patch \ |
18 | file://0001-pem.c-do-not-use-rawmemchr.patch \ | ||
19 | " | ||
20 | SRC_URI[sha256sum] = "2bfe9da7781f65f1cb1595a5a068a3ae74d4b68b74f287c6f0c892cfe623913f" | ||
18 | 21 | ||
19 | do_configure_prepend () { | 22 | do_configure_prepend () { |
20 | mkdir -p ${S}/build-aux | 23 | mkdir -p ${S}/build-aux |