All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH 35/48] ell: upgrade 0.33 -> 0.35
Date: Sat, 26 Dec 2020 10:27:19 +0100	[thread overview]
Message-ID: <20201226092732.52323-35-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20201226092732.52323-1-alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...l-add-missing-include-in-dhcp-server.patch | 23 ++++++++++++++++
 .../ell/0001-pem.c-do-not-use-rawmemchr.patch | 27 +++++++++++++++++++
 .../ell/{ell_0.33.bb => ell_0.35.bb}          |  7 +++--
 3 files changed, 55 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/ell/ell/0001-ell-add-missing-include-in-dhcp-server.patch
 create mode 100644 meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch
 rename meta/recipes-core/ell/{ell_0.33.bb => ell_0.35.bb} (73%)

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 @@
+From dd350f4e2258b5a638bc8fb26a6193147902d292 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=89rico=20Nogueira?= <ericonr@disroot.org>
+Date: Mon, 30 Nov 2020 18:40:33 -0300
+Subject: [PATCH] ell: add missing include in dhcp-server.
+
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ ell/dhcp-server.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ell/dhcp-server.c b/ell/dhcp-server.c
+index c983ed4..144e83e 100644
+--- a/ell/dhcp-server.c
++++ b/ell/dhcp-server.c
+@@ -24,6 +24,7 @@
+ #include <config.h>
+ #endif
+ 
++#include <linux/types.h>
+ #include <net/ethernet.h>
+ #include <sys/socket.h>
+ #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 @@
+From 277e1eca67fcc23cb31be7b826d83a19d9b89bd2 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Tue, 22 Dec 2020 10:30:54 +0000
+Subject: [PATCH] pem.c: do not use rawmemchr()
+
+This is a glibc-only function, and causes build failures with
+alternative libc implementations such as musl.
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ ell/pem.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ell/pem.c b/ell/pem.c
+index 790f2c2..237ae02 100644
+--- a/ell/pem.c
++++ b/ell/pem.c
+@@ -224,7 +224,7 @@ static uint8_t *pem_load_buffer(const void *buf, size_t buf_len,
+ 
+ 		/* Check that each header line has a key and a colon */
+ 		while (start < end) {
+-			const char *lf = rawmemchr(start, '\n');
++			const char *lf = memchr(start, '\n', end - start);
+ 			const char *colon = memchr(start, ':', lf - start);
+ 
+ 			if (!colon)
diff --git a/meta/recipes-core/ell/ell_0.33.bb b/meta/recipes-core/ell/ell_0.35.bb
similarity index 73%
rename from meta/recipes-core/ell/ell_0.33.bb
rename to 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"
 
 inherit autotools pkgconfig
 
-SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz"
-SRC_URI[sha256sum] = "d9e40e641164150394b74b719b9726fc734f24b2cde679cf5f3be6915c34eded"
+SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz \
+           file://0001-ell-add-missing-include-in-dhcp-server.patch \
+           file://0001-pem.c-do-not-use-rawmemchr.patch \
+           "
+SRC_URI[sha256sum] = "2bfe9da7781f65f1cb1595a5a068a3ae74d4b68b74f287c6f0c892cfe623913f"
 
 do_configure_prepend () {
     mkdir -p ${S}/build-aux
-- 
2.29.2


  parent reply	other threads:[~2020-12-26  9:28 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-26  9:26 [PATCH 01/48] oeqa/ptest: print a warning if ptests failed Alexander Kanavin
2020-12-26  9:26 ` [PATCH 02/48] acpica: upgrade 20201113 -> 20201217 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 03/48] bind: upgrade 9.16.9 -> 9.16.10 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 04/48] diffoscope: upgrade 161 -> 163 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 05/48] dnf: upgrade 4.4.0 -> 4.5.2 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 06/48] enchant2: upgrade 2.2.13 -> 2.2.14 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 07/48] epiphany: upgrade 3.38.1 -> 3.38.2 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 08/48] ethtool: upgrade 5.9 -> 5.10 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 09/48] gtk+3: upgrade 3.24.23 -> 3.24.24 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 10/48] init-system-helpers: upgrade 1.58 -> 1.60 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 11/48] kbd: upgrade 2.3.0 -> 2.4.0 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 12/48] kea: upgrade 1.8.1 -> 1.8.2 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 13/48] libmodulemd: upgrade 2.9.4 -> 2.11.1 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 14/48] libpcre2: upgrade 10.35 -> 10.36 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 15/48] libtirpc: upgrade 1.2.6 -> 1.3.1 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 16/48] libusb1: upgrade 1.0.23 -> 1.0.24 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 17/48] libva: upgrade 2.9.0 -> 2.10.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 18/48] libx11: upgrade 1.6.12 -> 1.7.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 19/48] lighttpd: upgrade 1.4.56 -> 1.4.57 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 20/48] ninja: upgrade 1.10.1 -> 1.10.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 21/48] puzzles: upgrade to latest revision Alexander Kanavin
2020-12-26  9:27 ` [PATCH 22/48] python3-hypothesis: upgrade 5.41.5 -> 5.43.3 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 23/48] python3-py: upgrade 1.9.0 -> 1.10.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 24/48] python3-setuptools-scm: upgrade 4.1.2 -> 5.0.1 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 25/48] sqlite3: upgrade 3.33.0 -> 3.34.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 26/48] stress-ng: upgrade 0.11.24 -> 0.12.00 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 27/48] sudo: upgrade 1.9.3p1 -> 1.9.4p1 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 28/48] sysvinit: upgrade 2.97 -> 2.98 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 29/48] util-linux: upgrade 2.36 -> 2.36.1 Alexander Kanavin
2020-12-27 17:14   ` [OE-core] " Khem Raj
2020-12-26  9:27 ` [PATCH 30/48] vala: upgrade 0.50.1 -> 0.50.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 31/48] vulkan-headers: upgrade 1.2.154.0 -> 1.2.162.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 32/48] webkitgtk: upgrade 2.30.2 -> 2.30.4 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 33/48] xprop: upgrade 1.2.4 -> 1.2.5 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 34/48] xserver-xorg: upgrade 1.20.9 -> 1.20.10 Alexander Kanavin
2020-12-26  9:27 ` Alexander Kanavin [this message]
2020-12-27  6:02   ` [OE-core] [PATCH 35/48] ell: upgrade 0.33 -> 0.35 Khem Raj
2020-12-27 11:04     ` Alexander Kanavin
2020-12-26  9:27 ` [PATCH 36/48] glib-2.0: update 2.66.2 -> 2.66.4 Alexander Kanavin
2020-12-29  7:45   ` [OE-core] " Naveen Saini
2020-12-29 10:24     ` Alexander Kanavin
2020-12-26  9:27 ` [PATCH 37/48] rpm: update 4.16.0 -> 4.16.1.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 38/48] piglit: update to latest revision Alexander Kanavin
2020-12-26  9:27 ` [PATCH 39/48] sbc: update 1.4 -> 1.5 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 40/48] libdnf: update 0.55.0 -> 0.55.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 41/48] libva-utils: update 2.9.1 -> 2.10.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 42/48] python3-importlib-metadata: update 3.1.1 -> 3.3.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 43/48] python3: update 3.9.0 -> 3.9.1 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 44/48] vulkan-loader: upgrade 1.2.154.1 -> 1.2.162.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 45/48] vulkan-tools: upgrade 1.2.154.0 " Alexander Kanavin
2020-12-26  9:27 ` [PATCH 46/48] systemd-bootchart: update 233 -> 234 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 47/48] zstd: add recipe from meta-oe Alexander Kanavin
2020-12-26  9:27 ` [PATCH 48/48] zstd: update 1.4.5 -> 1.4.8 Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201226092732.52323-35-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.