apitrace: Upgrade to 0.10
PATCH v2 1/1 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 <[email protected]>
---
v2: Fix build on musl
.../0001-libbacktrace-include-config.h.patch | 33 +++++++++++++++++++
.../{apitrace_9.0.bb => apitrace_10.0.bb} | 6 ++--
2 files changed, 37 insertions(+), 2 deletions(-)
create mode 100644 meta-oe/recipes-devtools/apitrace/apitrace/0001-libbacktrace-include-config.h.patch
rename meta-oe/recipes-devtools/apitrace/{apitrace_9.0.bb => apitrace_10.0.bb} (80%)meta-oe/recipes-devtools/apitrace/apitrace/0001-libbacktrace-include-config.h.patch new file +33 -0
@@ -0,0 +1,33 @@ +From bdd5f0834d95a9598b0d87a18e7e96afade9d418 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 10 May 2021 15:28:05 -0700 +Subject: [PATCH] libbacktrace: include config.h + +Fixes +thirdparty/libbacktrace/backtrace.h:53:10: fatal error: gstdint.h: No such file or directory + 53 | #include "gstdint.h" + | ^~~~~~~~~~~ +compilation terminated. + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +--- + thirdparty/libbacktrace/backtrace.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/thirdparty/libbacktrace/backtrace.h b/thirdparty/libbacktrace/backtrace.h +index 2814763f..802cf989 100644 +--- a/thirdparty/libbacktrace/backtrace.h ++++ b/thirdparty/libbacktrace/backtrace.h +@@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE. */ + #ifndef BACKTRACE_H + #define BACKTRACE_H + ++#include <config.h> + #include <stddef.h> + #include <stdio.h> + +-- +2.31.1 +
meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb renamed from meta-oe/recipes-devtools/apitrace/apitrace_9.0.bb +4 -2
@@ -5,8 +5,10 @@ LICENSE = "MIT & BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \ file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" -SRCREV = "cae55f54c53449fd07f8a917dcd0874db2c15032" -SRC_URI = "git://github.com/${BPN}/${BPN}.git" +SRCREV = "03e4e9d2cab4f1a61d3f589785641a73dff027c5" +SRC_URI = "git://github.com/${BPN}/${BPN}.git \ + file://0001-libbacktrace-include-config.h.patch \ + " S = "${WORKDIR}/git"
Signature · 1 line
2.31.1