summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-07-25 11:27:31 +0800
committerKhem Raj <raj.khem@gmail.com>2018-07-27 07:19:13 -0700
commitdab3f6a1c506ff1895c3bc9cc5b37075d2ccd89a (patch)
treee13dda45ddf7193d4ed2f57d3201e995160c72ed
parentcc29c92b639035b449150363101d5d8f84b5ee4c (diff)
downloadmeta-openembedded-dab3f6a1c506ff1895c3bc9cc5b37075d2ccd89a.tar.gz
libtevent: upgrade 0.9.36 -> 0.9.37
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/libtevent/libtevent/0001-libtevent-fix-musl-libc-compile-error.patch32
-rw-r--r--meta-networking/recipes-support/libtevent/libtevent_0.9.37.bb (renamed from meta-networking/recipes-support/libtevent/libtevent_0.9.36.bb)5
2 files changed, 35 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/libtevent/libtevent/0001-libtevent-fix-musl-libc-compile-error.patch b/meta-networking/recipes-support/libtevent/libtevent/0001-libtevent-fix-musl-libc-compile-error.patch
new file mode 100644
index 0000000000..e3aeda9c33
--- /dev/null
+++ b/meta-networking/recipes-support/libtevent/libtevent/0001-libtevent-fix-musl-libc-compile-error.patch
@@ -0,0 +1,32 @@
1From 7ba1de909c587b6773a39ba9f6f9890987f35b24 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 24 Jul 2018 11:30:53 +0800
4Subject: [PATCH] libtevent: fix musl libc compile error
5
6libldb depend on libtevent, build libldb with musl libc,
7will report error:
8tevent.h:1440:8: error: unknown type name 'pid_t'; did you mean 'div_t'?
9
10add missing headers to fix it.
11
12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13---
14 tevent.h | 2 ++
15 1 file changed, 2 insertions(+)
16
17diff --git a/tevent.h b/tevent.h
18index aa6fe0d..2572696 100644
19--- a/tevent.h
20+++ b/tevent.h
21@@ -32,6 +32,8 @@
22 #include <talloc.h>
23 #include <sys/time.h>
24 #include <stdbool.h>
25+#include <sys/stat.h>
26+#include <sys/types.h>
27
28 struct tevent_context;
29 struct tevent_ops;
30--
312.7.4
32
diff --git a/meta-networking/recipes-support/libtevent/libtevent_0.9.36.bb b/meta-networking/recipes-support/libtevent/libtevent_0.9.37.bb
index c91b221b1e..ee8b7fdf16 100644
--- a/meta-networking/recipes-support/libtevent/libtevent_0.9.36.bb
+++ b/meta-networking/recipes-support/libtevent/libtevent_0.9.37.bb
@@ -8,11 +8,12 @@ RDEPENDS_python-tevent = "python"
8 8
9SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \ 9SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \
10 file://options-0.9.36.patch \ 10 file://options-0.9.36.patch \
11 file://0001-libtevent-fix-musl-libc-compile-error.patch \
11" 12"
12LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a" 13LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a"
13 14
14SRC_URI[md5sum] = "87d67bca75b231814435c47bec0aff8a" 15SRC_URI[md5sum] = "6859cd4081fdb2a76b1cb4bf1c803a59"
15SRC_URI[sha256sum] = "bd2b6be3fd1601ed7f176e99111e322c57d58e425cc149ee80c7dd4fed263b4c" 16SRC_URI[sha256sum] = "168345ed65eac03785cf77b95238e7dc66cbb473a42811693a6b0916e5dae7e0"
16 17
17inherit waf-samba 18inherit waf-samba
18 19