diff options
| -rw-r--r-- | meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch | 42 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb | 1 |
2 files changed, 43 insertions, 0 deletions
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 0000000000..9ce6693061 --- /dev/null +++ b/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | From 952bad1469ea747012bdc48c48993bd5f13eec04 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Nicolas PARLANT <nicolas.parlant@parhuet.fr> | ||
| 3 | Date: Fri, 21 Mar 2025 05:02:23 +0000 | ||
| 4 | Subject: [PATCH] Explicit header: stdint | ||
| 5 | |||
| 6 | Fix building with GCC-15. It no longer includes it by default. | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://github.com/apitrace/apitrace/commit/952bad1469ea747012bdc48c48993bd5f13eec04] | ||
| 9 | |||
| 10 | Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> | ||
| 11 | --- | ||
| 12 | frametrim/ft_dependecyobject.hpp | 1 + | ||
| 13 | retrace/metric_writer.cpp | 1 + | ||
| 14 | 2 files changed, 2 insertions(+) | ||
| 15 | |||
| 16 | diff --git a/frametrim/ft_dependecyobject.hpp b/frametrim/ft_dependecyobject.hpp | ||
| 17 | index 2cd0b768..0f17b601 100644 | ||
| 18 | --- a/frametrim/ft_dependecyobject.hpp | ||
| 19 | +++ b/frametrim/ft_dependecyobject.hpp | ||
| 20 | @@ -28,6 +28,7 @@ | ||
| 21 | #pragma once | ||
| 22 | |||
| 23 | #include "ft_tracecall.hpp" | ||
| 24 | +#include <stdint.h> | ||
| 25 | |||
| 26 | namespace frametrim { | ||
| 27 | |||
| 28 | diff --git a/retrace/metric_writer.cpp b/retrace/metric_writer.cpp | ||
| 29 | index e923ed1d..4e4ce748 100644 | ||
| 30 | --- a/retrace/metric_writer.cpp | ||
| 31 | +++ b/retrace/metric_writer.cpp | ||
| 32 | @@ -24,6 +24,7 @@ | ||
| 33 | **************************************************************************/ | ||
| 34 | |||
| 35 | #include <iostream> | ||
| 36 | +#include <stdint.h> | ||
| 37 | |||
| 38 | #include "metric_writer.hpp" | ||
| 39 | |||
| 40 | -- | ||
| 41 | 2.34.1 | ||
| 42 | |||
diff --git a/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb b/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb index d872c4dbb5..48ba7dbaea 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 \ | |||
| 8 | SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764" | 8 | SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764" |
| 9 | PV .= "+11.1+git" | 9 | PV .= "+11.1+git" |
| 10 | SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ | 10 | SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ |
| 11 | file://0001-Explicit-header-stdint.patch \ | ||
| 11 | " | 12 | " |
| 12 | 13 | ||
| 13 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
