M gnu/local.mk => gnu/local.mk +2 -1
@@ 2538,7 2538,8 @@ dist_patch_DATA = \
%D%/packages/patches/zig-0.14-use-system-paths.patch \
%D%/packages/patches/zsh-egrep-failing-test.patch \
%D%/packages/patches/zuo-bin-sh.patch \
- %D%/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
+ %D%/packages/patches/zxing-cpp-1.2.0-gcc-14.patch \
+ %D%/packages/patches/zynaddsubfx-3.0.6-include-cstdint.patch
MISC_DISTRO_FILES = \
%D%/packages/ld-wrapper.in
M gnu/packages/music.scm => gnu/packages/music.scm +4 -2
@@ 3471,7 3471,9 @@ instrument or MIDI file player.")
version "/zynaddsubfx-" version ".tar.bz2"))
(sha256
(base32
- "1bkirvcg0lz1i7ypnz3dyh218yhrqpnijxs8n3wlgwbcixvn1lfb"))))
+ "1bkirvcg0lz1i7ypnz3dyh218yhrqpnijxs8n3wlgwbcixvn1lfb"))
+ (patches
+ (search-patches "zynaddsubfx-3.0.6-include-cstdint.patch"))))
(build-system cmake-build-system)
(arguments
`(#:phases
@@ 3499,7 3501,7 @@ instrument or MIDI file player.")
(native-inputs
(list pkg-config
ruby))
- (home-page "https://zynaddsubfx.sf.net/")
+ (home-page "https://zynaddsubfx.sourceforge.io/")
(synopsis "Software synthesizer")
(description
"ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
A gnu/packages/patches/zynaddsubfx-3.0.6-include-cstdint.patch => gnu/packages/patches/zynaddsubfx-3.0.6-include-cstdint.patch +24 -0
@@ 0,0 1,24 @@
+This patch fixes the compilation error: "uint8_t’ has not been declared".
+
+diff '--color=auto' -ruN zynaddsubfx-3.0.6-a/src/Misc/Bank.h zynaddsubfx-3.0.6-b/src/Misc/Bank.h
+--- zynaddsubfx-3.0.6-a/src/Misc/Bank.h 1970-01-01 05:30:01.000000000 +0530
++++ zynaddsubfx-3.0.6-b/src/Misc/Bank.h 2025-08-18 14:16:56.928347291 +0530
+@@ -18,6 +18,7 @@
+ #include <vector>
+ #include "../globals.h"
+ #include "Config.h"
++#include <cstdint>
+
+ //entries in a bank
+ #define BANK_SIZE 160
+diff '--color=auto' -ruN zynaddsubfx-3.0.6-a/src/Nio/MidiIn.h zynaddsubfx-3.0.6-b/src/Nio/MidiIn.h
+--- zynaddsubfx-3.0.6-a/src/Nio/MidiIn.h 1970-01-01 05:30:01.000000000 +0530
++++ zynaddsubfx-3.0.6-b/src/Nio/MidiIn.h 2025-08-18 14:04:01.993278682 +0530
+@@ -17,6 +17,7 @@
+ #define MIDI_IN_H
+
+ #include "Engine.h"
++#include <cstdint>
+
+ namespace zyn {
+