summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2022-02-10 17:26:54 +0100
committerKhem Raj <raj.khem@gmail.com>2022-02-11 09:10:38 -0800
commit905dbd4aa53dda393820d81be90c1938420e6e59 (patch)
tree4c24c32f5136b153463de7b256ff3d65f2b9309e /meta-oe
parent0eaccf0031ab6bc4387fc41ee3149bb36b8e6caf (diff)
downloadmeta-openembedded-905dbd4aa53dda393820d81be90c1938420e6e59.tar.gz
capnproto: update to 0.9.1
Removed upstreamed patch. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/capnproto/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit.patch38
-rw-r--r--meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb (renamed from meta-oe/recipes-devtools/capnproto/capnproto_0.8.0.bb)3
2 files changed, 1 insertions, 40 deletions
diff --git a/meta-oe/recipes-devtools/capnproto/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit.patch b/meta-oe/recipes-devtools/capnproto/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit.patch
deleted file mode 100644
index 43da4a9ef7..0000000000
--- a/meta-oe/recipes-devtools/capnproto/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From e2a05a19e9dc51287e19cc9f11fd91449219e361 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Nov 2020 12:10:28 -0800
4Subject: [PATCH] mutex: Fix build on 32-bit architectures using 64-bit time_t
5
6mutex code uses SYS_futex, which it expects from system C library.
7in glibc (/usr/include/bits/syscall.h defines it in terms of of NR_futex)
8rv32 is using 64bit time_t from get go unlike other 32bit architectures
9in glibc, therefore it wont have NR_futex defined but just NR_futex_time64
10this aliases it to NR_futex so that SYS_futex is then defined for rv32
11
12Upstream-Status: Submitted [https://github.com/capnproto/capnproto/pull/1103]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 c++/src/kj/mutex.c++ | 6 ++++++
16 1 file changed, 6 insertions(+)
17
18diff --git a/c++/src/kj/mutex.c++ b/c++/src/kj/mutex.c++
19index c81cead7..e1594b11 100644
20--- a/c++/src/kj/mutex.c++
21+++ b/c++/src/kj/mutex.c++
22@@ -39,7 +39,13 @@
23
24 #ifndef SYS_futex
25 // Missing on Android/Bionic.
26+#ifdef __NR_futex
27 #define SYS_futex __NR_futex
28+#elif defined(SYS_futex_time64)
29+#define SYS_futex SYS_futex_time64
30+#else
31+#error "Need working SYS_futex"
32+#endif
33 #endif
34
35 #ifndef FUTEX_WAIT_PRIVATE
36--
372.29.2
38
diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_0.8.0.bb b/meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb
index 774423192e..164bb2cf8a 100644
--- a/meta-oe/recipes-devtools/capnproto/capnproto_0.8.0.bb
+++ b/meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb
@@ -6,9 +6,8 @@ LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://../LICENSE;md5=a05663ae6cca874123bf667a60dca8c9" 6LIC_FILES_CHKSUM = "file://../LICENSE;md5=a05663ae6cca874123bf667a60dca8c9"
7 7
8SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV};protocol=https \ 8SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV};protocol=https \
9 file://0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit.patch;patchdir=../ \
10 " 9 "
11SRCREV = "57a4ca5af5a7f55b768a9d9d6655250bffb1257f" 10SRCREV = "b49431c48d40490ef979247d308af63345376cee"
12 11
13S = "${WORKDIR}/git/c++" 12S = "${WORKDIR}/git/c++"
14 13