56e7ca5dbc
When compiling with gcc 13, build fails with errors, such as: In file included from /build/zynaddsubfx-3.0.6/src/Nio/NulEngine.h:21, from /build/zynaddsubfx-3.0.6/src/Nio/NulEngine.cpp:14: /build/zynaddsubfx-3.0.6/src/Nio/MidiIn.h:37:9: error: 'uint8_t' does not name a type 37 | uint8_t midiSysEx(unsigned char data); | ^~~~~~~ Those gcc 13 changes were announced at: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes This commit fixes the issue by adding upstream patches, not yet included in a release. Fixes: http://autobuild.buildroot.net/results/97b5a30c7be820ac91e745cf60f9b759e962aa5c Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
750 B
Diff
29 lines
750 B
Diff
From eab3bc1712e5af7e6aef942a24e833ce2c429436 Mon Sep 17 00:00:00 2001
|
|
From: fundamental <mark.d.mccurry@gmail.com>
|
|
Date: Wed, 19 Apr 2023 21:52:01 -0400
|
|
Subject: [PATCH] Bank: Add stdint.h header include
|
|
|
|
As uint8_t is used, this header should be included.
|
|
|
|
Upstream: https://github.com/zynaddsubfx/zynaddsubfx/commit/f384d92486d6b515cb628d0f52008a9e03341d8c
|
|
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
|
---
|
|
src/Misc/Bank.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/Misc/Bank.h b/src/Misc/Bank.h
|
|
index 5120441a..3f324dd8 100644
|
|
--- a/src/Misc/Bank.h
|
|
+++ b/src/Misc/Bank.h
|
|
@@ -18,6 +18,7 @@
|
|
#include <vector>
|
|
#include "../globals.h"
|
|
#include "Config.h"
|
|
+#include <stdint.h>
|
|
|
|
//entries in a bank
|
|
#define BANK_SIZE 160
|
|
--
|
|
2.41.0
|
|
|