elektra: fix compilation with GCC13

Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-16 16:34:06 -08:00
parent c990f18f4c
commit 6386d1e9be
2 changed files with 20 additions and 1 deletions

View File

@ -15,7 +15,7 @@ PKG_NAME:=elektra
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.md
PKG_VERSION:=0.9.7
PKG_RELEASE:=4
PKG_RELEASE:=5
# Use this for official releasees
PKG_HASH:=12b7b046004db29317b7b937dc794abf719c400ba3115af8d41849127b562681

View File

@ -0,0 +1,19 @@
From 19fe46ecb796c0d30d66dd7e7038fd7f2d6f9bf4 Mon Sep 17 00:00:00 2001
From: Florian Lindner <florian.lindner@student.tuwien.ac.at>
Date: Thu, 8 Jun 2023 16:55:34 +0200
Subject: [PATCH] bindings: include <cstdint> in key.hpp for uint8_t
---
src/bindings/cpp/include/key.hpp | 1 +
1 file changed, 1 insertion(+)
--- a/src/bindings/cpp/include/key.hpp
+++ b/src/bindings/cpp/include/key.hpp
@@ -10,6 +10,7 @@
#define ELEKTRA_KEY_HPP
#include <cstdarg>
+#include <cstdint>
#include <cstring>
#include <functional>
#include <locale>