File: fix-gcc-13.patch

package info (click to toggle)
zynaddsubfx 3.0.6-7.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 65,848 kB
  • sloc: cpp: 124,436; ansic: 39,936; objc: 2,496; makefile: 1,369; python: 567; sh: 566; ruby: 178; javascript: 50
file content (28 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: fix gcc-13 build issue 
 cherry-pick upstream changes:
 https://github.com/zynaddsubfx/zynaddsubfx/commit/f384d92486d6b515cb628d0f52008a9e03341d8c
 https://github.com/zynaddsubfx/zynaddsubfx/commit/70905c96fe7b9ffde19bc4bc05b0dc53a1ed1707
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037910 
Last-Update: 2023-07-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Nio/MidiIn.h
+++ b/src/Nio/MidiIn.h
@@ -16,6 +16,7 @@
 #ifndef MIDI_IN_H
 #define MIDI_IN_H
 
+#include <stdint.h>
 #include "Engine.h"
 
 namespace zyn {
--- 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