diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2025-08-21 12:58:39 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-09-01 08:30:56 -0700 |
| commit | c345127b52d21944543882f86b8ddd43e188e87c (patch) | |
| tree | 063bd847eb5cbc56dfe9413f341aec353bfbc6cf /meta | |
| parent | 96cf0503ed975e2f15ff8ecf057717d6c16122f4 (diff) | |
| download | poky-c345127b52d21944543882f86b8ddd43e188e87c.tar.gz | |
cmake: fix build with gcc-15 on host
(From OE-Core rev: bdfccaa382c1669bff8788e09953c3a770243fab)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/cmake/cmake.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/cmake/cmake/0001-cppdap-fix-build-with-gcc-15.patch | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc index a52506a8ea..b8667832e2 100644 --- a/meta/recipes-devtools/cmake/cmake.inc +++ b/meta/recipes-devtools/cmake/cmake.inc | |||
| @@ -18,6 +18,7 @@ CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" | |||
| 18 | 18 | ||
| 19 | SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ | 19 | SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ |
| 20 | file://0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch \ | 20 | file://0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch \ |
| 21 | file://0001-cppdap-fix-build-with-gcc-15.patch \ | ||
| 21 | " | 22 | " |
| 22 | 23 | ||
| 23 | SRC_URI[sha256sum] = "72b7570e5c8593de6ac4ab433b73eab18c5fb328880460c86ce32608141ad5c1" | 24 | SRC_URI[sha256sum] = "72b7570e5c8593de6ac4ab433b73eab18c5fb328880460c86ce32608141ad5c1" |
diff --git a/meta/recipes-devtools/cmake/cmake/0001-cppdap-fix-build-with-gcc-15.patch b/meta/recipes-devtools/cmake/cmake/0001-cppdap-fix-build-with-gcc-15.patch new file mode 100644 index 0000000000..1ff0764018 --- /dev/null +++ b/meta/recipes-devtools/cmake/cmake/0001-cppdap-fix-build-with-gcc-15.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From f742c298a0d6b70059e5c98c89d301e62a3e2087 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <foss@grueninger.de> | ||
| 3 | Date: Thu, 8 Aug 2024 20:26:35 +0200 | ||
| 4 | Subject: [PATCH] cppdap: include/dap/network.h: add <stdint.h> include for GCC | ||
| 5 | 15 | ||
| 6 | |||
| 7 | GCC 15 requires the include for the declaration of `uint32_t`. | ||
| 8 | Backport [cppdap PR 133](https://github.com/google/cppdap/pull/133). | ||
| 9 | |||
| 10 | Upstream-Status: Backport [https://gitlab.kitware.com/cmake/cmake/-/commit/f742c298a0d6b70059e5c98c89d301e62a3e2087] | ||
| 11 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
| 12 | --- | ||
| 13 | Utilities/cmcppdap/include/dap/network.h | 1 + | ||
| 14 | 1 file changed, 1 insertion(+) | ||
| 15 | |||
| 16 | diff --git a/Utilities/cmcppdap/include/dap/network.h b/Utilities/cmcppdap/include/dap/network.h | ||
| 17 | index 9d14f6b70fa..dd3e0062407 100644 | ||
| 18 | --- a/Utilities/cmcppdap/include/dap/network.h | ||
| 19 | +++ b/Utilities/cmcppdap/include/dap/network.h | ||
| 20 | @@ -17,6 +17,7 @@ | ||
| 21 | |||
| 22 | #include <functional> | ||
| 23 | #include <memory> | ||
| 24 | +#include <stdint.h> | ||
| 25 | |||
| 26 | namespace dap { | ||
| 27 | class ReaderWriter; | ||
| 28 | -- | ||
| 29 | GitLab | ||
| 30 | |||
