summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-05-10 08:32:14 -0700
committerKhem Raj <raj.khem@gmail.com>2021-05-11 08:27:27 -0700
commit259e6d305adfa3adcd34e36b855e01c824b5d588 (patch)
tree1b498742ae3068b167be94afbce9362eb85a9fab
parent2183f0894110a6913c44bee9a1f4b1cea7639bdc (diff)
downloadmeta-openembedded-259e6d305adfa3adcd34e36b855e01c824b5d588.tar.gz
apitrace: Upgrade to 0.10
apitrace: Fix build with musl Changes are here [1] which fixed musl build [1] https://github.com/apitrace/apitrace/releases/tag/10.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/apitrace/apitrace/0001-libbacktrace-include-config.h.patch33
-rw-r--r--meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb (renamed from meta-oe/recipes-devtools/apitrace/apitrace_9.0.bb)6
2 files changed, 37 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/apitrace/apitrace/0001-libbacktrace-include-config.h.patch b/meta-oe/recipes-devtools/apitrace/apitrace/0001-libbacktrace-include-config.h.patch
new file mode 100644
index 000000000..87fb4992d
--- /dev/null
+++ b/meta-oe/recipes-devtools/apitrace/apitrace/0001-libbacktrace-include-config.h.patch
@@ -0,0 +1,33 @@
1From bdd5f0834d95a9598b0d87a18e7e96afade9d418 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 10 May 2021 15:28:05 -0700
4Subject: [PATCH] libbacktrace: include config.h
5
6Fixes
7thirdparty/libbacktrace/backtrace.h:53:10: fatal error: gstdint.h: No such file or directory
8 53 | #include "gstdint.h"
9 | ^~~~~~~~~~~
10compilation terminated.
11
12Upstream-Status: Pending
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 thirdparty/libbacktrace/backtrace.h | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/thirdparty/libbacktrace/backtrace.h b/thirdparty/libbacktrace/backtrace.h
20index 2814763f..802cf989 100644
21--- a/thirdparty/libbacktrace/backtrace.h
22+++ b/thirdparty/libbacktrace/backtrace.h
23@@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE. */
24 #ifndef BACKTRACE_H
25 #define BACKTRACE_H
26
27+#include <config.h>
28 #include <stddef.h>
29 #include <stdio.h>
30
31--
322.31.1
33
diff --git a/meta-oe/recipes-devtools/apitrace/apitrace_9.0.bb b/meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb
index 826291a5e..616d56daa 100644
--- a/meta-oe/recipes-devtools/apitrace/apitrace_9.0.bb
+++ b/meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb
@@ -5,8 +5,10 @@ LICENSE = "MIT & BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \ 5LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \
6 file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" 6 file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c"
7 7
8SRCREV = "cae55f54c53449fd07f8a917dcd0874db2c15032" 8SRCREV = "03e4e9d2cab4f1a61d3f589785641a73dff027c5"
9SRC_URI = "git://github.com/${BPN}/${BPN}.git" 9SRC_URI = "git://github.com/${BPN}/${BPN}.git \
10 file://0001-libbacktrace-include-config.h.patch \
11 "
10 12
11S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
12 14