ell: update to 0.36.

- Drop musl-rawmemchr patch.
- Make @ericon maintainer.
This commit is contained in:
Peter Bui 2021-01-07 12:07:21 -05:00 committed by Érico Rolim
parent 6753a7c05d
commit 6dd8c08b34
3 changed files with 7 additions and 32 deletions

View File

@ -1,10 +0,0 @@
--- ell/dhcp-server.c.orig 2020-11-30 12:16:40.821110152 -0500
+++ ell/dhcp-server.c 2020-11-30 12:16:55.123140621 -0500
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#include <linux/types.h>
#include <net/ethernet.h>
#include <sys/socket.h>
#include <arpa/inet.h>

View File

@ -1,18 +0,0 @@
This will be addressed in the next upstream release (>1.10) as shown here:
https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=3916c1cc32be205e185a8a56de5cde1b9ec60e81
--- ell/pem.c.orig 2020-11-30 09:02:25.583791998 -0500
+++ ell/pem.c 2020-11-30 09:03:23.548913496 -0500
@@ -224,7 +224,11 @@
/* Check that each header line has a key and a colon */
while (start < end) {
+#if defined(__GLIBC__)
const char *lf = rawmemchr(start, '\n');
+#else
+ const char *lf = memchr(start, '\n', end - start);
+#endif
const char *colon = memchr(start, ':', lf - start);
if (!colon)

View File

@ -1,6 +1,6 @@
# Template file for 'ell'
pkgname=ell
version=0.35
version=0.36
revision=1
build_style=gnu-configure
configure_args="--enable-glib"
@ -8,14 +8,17 @@ hostmakedepends="pkg-config"
makedepends="libglib-devel"
checkdepends="dbus"
short_desc="Linux library for embedded development"
maintainer="Peter Bui <pbui@github.bx612.space>"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-only"
homepage="https://01.org/ell"
distfiles="${KERNEL_SITE}/libs/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=2bfe9da7781f65f1cb1595a5a068a3ae74d4b68b74f287c6f0c892cfe623913f
checksum=2f99e743a235b1c834b19112e4e0283d02da93b863899381466cde47bf159cf6
do_check() {
if [ "$XBPS_CHECK_PKGS" = full]; then
# tests depend on kernel features
dbus-run-session make check
fi
}
ell-devel_package() {