kumquat-buildroot/package/kodi-audiodecoder-timidity/0001-MidiScan-include-missing-cstdint.patch
Bernd Kuhls 50d081916e package/kodi-audiodecoder-timidity: fix build with gcc-13
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-30 14:40:48 +02:00

30 lines
880 B
Diff

From 0d4d3fcf5c58dd16b3e9a7337189141b839e4ace Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Sat, 15 Apr 2023 07:41:15 +1000
Subject: [PATCH] MidiScan: include missing <cstdint>
gcc 13 moved some includes around and as a result <cstdint> is no longer transitively
included [1]. Explicitly include it for uint{32,64}_t.
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
Upstream: https://github.com/xbmc/audiodecoder.timidity/commit/0d4d3fcf5c58dd16b3e9a7337189141b839e4ace
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/MidiScan.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/MidiScan.h b/src/MidiScan.h
index 9c19bdf..ac959e0 100644
--- a/src/MidiScan.h
+++ b/src/MidiScan.h
@@ -8,6 +8,7 @@
#pragma once
+#include <cstdint>
#include <string>
#include <vector>