1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 04:58:57 +00:00

gator-daemon: Fix build with gcc13

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Khem Raj
2023-02-02 17:14:40 -08:00
committed by Jon Mason
parent 894e309eaf
commit 37fd476ae1
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,32 @@
From 87745a6cad0f7819ac8f8d3826f5e228ebd843c5 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 2 Feb 2023 16:39:26 -0800
Subject: [PATCH] Include missing <cstdint>
gcc 13 moved some includes around and as a result <cstdint> is no
longer transitively included [1]. Explicitly include it
for uintXX_t.
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
Upstream-Status: Submitted [https://github.com/ARM-software/gator/pull/40]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
daemon/xml/CurrentConfigXML.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/daemon/xml/CurrentConfigXML.h b/daemon/xml/CurrentConfigXML.h
index 0b239fd..d9047e3 100644
--- a/daemon/xml/CurrentConfigXML.h
+++ b/daemon/xml/CurrentConfigXML.h
@@ -1,6 +1,7 @@
/* Copyright (C) 2020-2021 by Arm Limited. All rights reserved. */
#pragma once
+#include <cstdint>
#include <set>
#include <string>
--
2.39.1
@@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
SRCREV = "6a944e7ee1f1c3ab9b2a57efd24c58503122db02"
SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=main;protocol=https \
file://0001-daemon-mxml-Define-_GNU_SOURCE.patch;striplevel=2 \
file://0001-Include-missing-cstdint.patch;striplevel=2 \
"
S = "${WORKDIR}/git/daemon"