diff --git a/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch b/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch new file mode 100644 index 0000000000000000000000000000000000000000..9ce6693061d35a7e8bbb565a040aadfaa98ffb24 --- /dev/null +++ b/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch @@ -0,0 +1,42 @@ +From 952bad1469ea747012bdc48c48993bd5f13eec04 Mon Sep 17 00:00:00 2001 +From: Nicolas PARLANT <nicolas.parlant@parhuet.fr> +Date: Fri, 21 Mar 2025 05:02:23 +0000 +Subject: [PATCH] Explicit header: stdint + +Fix building with GCC-15. It no longer includes it by default. + +Upstream-Status: Backport [https://github.com/apitrace/apitrace/commit/952bad1469ea747012bdc48c48993bd5f13eec04] + +Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> +--- + frametrim/ft_dependecyobject.hpp | 1 + + retrace/metric_writer.cpp | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/frametrim/ft_dependecyobject.hpp b/frametrim/ft_dependecyobject.hpp +index 2cd0b768..0f17b601 100644 +--- a/frametrim/ft_dependecyobject.hpp ++++ b/frametrim/ft_dependecyobject.hpp +@@ -28,6 +28,7 @@ + #pragma once + + #include "ft_tracecall.hpp" ++#include <stdint.h> + + namespace frametrim { + +diff --git a/retrace/metric_writer.cpp b/retrace/metric_writer.cpp +index e923ed1d..4e4ce748 100644 +--- a/retrace/metric_writer.cpp ++++ b/retrace/metric_writer.cpp +@@ -24,6 +24,7 @@ + **************************************************************************/ + + #include <iostream> ++#include <stdint.h> + + #include "metric_writer.hpp" + +-- +2.34.1 + diff --git a/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb b/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb index d872c4dbb52e44d7a693d57d418dcb6b7d13af2c..48ba7dbaea7ce30f626bd735b6a4781ef5e01960 100644 --- a/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb +++ b/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \ SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764" PV .= "+11.1+git" SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ + file://0001-Explicit-header-stdint.patch \ " S = "${WORKDIR}/git"