kumquat-buildroot/package/capnproto/0001-Do-not-use-execinfo-h-with-uclibc.patch
Joel Carlson 21fc682289 capnproto: new package
Adds the capnproto package. This also builds a host variant to generate
the capnp compiler that can be used to compile message definitions into
C++ code. Includes a patch from upstream to fix an issue with uclibc.

Signed-off-by: Koen Martens <gmc@sonologic.nl>
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
[Thomas: only link with -latomic when BR2_TOOLCHAIN_HAS_LIBATOMIC=y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-16 16:52:22 +02:00

31 lines
869 B
Diff

From e651ac5febc59e3e2b5d3365ededbe5362756da2 Mon Sep 17 00:00:00 2001
From: Koen Martens <gmc@sonologic.nl>
Date: Wed, 12 Jul 2017 18:49:32 +0200
Subject: [PATCH] Do not use execinfo.h with uclibc (#511)
Upstream commit: https://github.com/capnproto/capnproto/commit/e651ac5febc59e3e2b5d3365ededbe5362756da2
Signed-off-by: Koen Martens <gmc@sonologic.nl>
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
---
c++/src/kj/exception.c++ | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c++/src/kj/exception.c++ b/c++/src/kj/exception.c++
index 218f1db..339601a 100644
--- a/c++/src/kj/exception.c++
+++ b/c++/src/kj/exception.c++
@@ -33,7 +33,7 @@
#endif
#include "io.h"
-#if (__linux__ && __GLIBC__) || __APPLE__
+#if (__linux__ && __GLIBC__ && !__UCLIBC__) || __APPLE__
#define KJ_HAS_BACKTRACE 1
#include <execinfo.h>
#endif
--
2.7.4