commit:     1c6f6237975331084706c4935bddd56af4349f2a
Author:     Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Sat May 20 20:22:52 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun May 21 07:42:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6f6237

media-sound/zynaddsubfx: backport GCC 13 fixes

Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/31109
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../files/zynaddsubfx-3.0.6-stdint.patch           | 46 ++++++++++++++++++++++
 .../zynaddsubfx/zynaddsubfx-3.0.6-r1.ebuild        |  3 +-
 2 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.6-stdint.patch 
b/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.6-stdint.patch
new file mode 100644
index 000000000000..4590183ab0f9
--- /dev/null
+++ b/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.6-stdint.patch
@@ -0,0 +1,46 @@
+Upstream Commit: 
https://github.com/zynaddsubfx/zynaddsubfx/commit/f384d92486d6b515cb628d0f52008a9e03341d8c
+Upstream Commit: 
https://github.com/zynaddsubfx/zynaddsubfx/commit/70905c96fe7b9ffde19bc4bc05b0dc53a1ed1707
+
+From f384d92486d6b515cb628d0f52008a9e03341d8c Mon Sep 17 00:00:00 2001
+From: fundamental <[email protected]>
+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.
+---
+ src/Misc/Bank.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/Misc/Bank.h b/src/Misc/Bank.h
+index 5120441a5..3f324dd84 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
+
+From 70905c96fe7b9ffde19bc4bc05b0dc53a1ed1707 Mon Sep 17 00:00:00 2001
+From: fundamental <[email protected]>
+Date: Sat, 22 Apr 2023 10:21:09 -0400
+Subject: [PATCH] MidiIn: Add stdint.h header include
+
+---
+ src/Nio/MidiIn.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/Nio/MidiIn.h b/src/Nio/MidiIn.h
+index ce0bcfec3..c6b30c61d 100644
+--- a/src/Nio/MidiIn.h
++++ b/src/Nio/MidiIn.h
+@@ -17,6 +17,7 @@
+ #define MIDI_IN_H
+ 
+ #include "Engine.h"
++#include <stdint.h>//uint8_t
+ 
+ namespace zyn {

diff --git a/media-sound/zynaddsubfx/zynaddsubfx-3.0.6-r1.ebuild 
b/media-sound/zynaddsubfx/zynaddsubfx-3.0.6-r1.ebuild
index 91346729c831..ed506ba3f20e 100644
--- a/media-sound/zynaddsubfx/zynaddsubfx-3.0.6-r1.ebuild
+++ b/media-sound/zynaddsubfx/zynaddsubfx-3.0.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,6 +45,7 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}"/${P}-docs.patch
+       "${FILESDIR}"/${P}-stdint.patch
 )
 
 DOCS=( AUTHORS.txt NEWS.txt README.adoc )

Reply via email to