diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2019-06-09 15:56:10 +0900 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-10 21:50:54 +0200 |
commit | 8aa71216840d5cd875f4321a8a03ce8ed98375df (patch) | |
tree | 8310cbfb03be216417bd2181eba7fb5928e3d082 /games-fps/gzdoom/files | |
parent | media-gfx/blender: gnome2-utils -> xdg-utils (diff) | |
download | gentoo-8aa71216840d5cd875f4321a8a03ce8ed98375df.tar.gz gentoo-8aa71216840d5cd875f4321a8a03ce8ed98375df.tar.bz2 gentoo-8aa71216840d5cd875f4321a8a03ce8ed98375df.zip |
games-fps/gzdoom: Bump to version 4.1.3
The openal flag is default on since end users typically expect audio
support by default. Adds patch to allow FluidSynth 2 builds.
Closes: https://bugs.gentoo.org/687692
Closes: https://bugs.gentoo.org/687716
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12228
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-fps/gzdoom/files')
-rw-r--r-- | games-fps/gzdoom/files/gzdoom-4.1.3-fluidsynth2.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games-fps/gzdoom/files/gzdoom-4.1.3-fluidsynth2.patch b/games-fps/gzdoom/files/gzdoom-4.1.3-fluidsynth2.patch new file mode 100644 index 000000000000..1ae12a832b4b --- /dev/null +++ b/games-fps/gzdoom/files/gzdoom-4.1.3-fluidsynth2.patch @@ -0,0 +1,28 @@ +From: Jan Engelhardt <jengelh@inai.de> +Date: 2018-10-16 14:29:56.900427855 +0200 + +Make the build work with fluidsynth 2.x. + +--- + src/sound/mididevices/music_fluidsynth_mididevice.cpp | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +Index: gzdoom-3.6.0/src/sound/mididevices/music_fluidsynth_mididevice.cpp +=================================================================== +--- gzdoom-3.6.0.orig/src/sound/mididevices/music_fluidsynth_mididevice.cpp ++++ gzdoom-3.6.0/src/sound/mididevices/music_fluidsynth_mididevice.cpp +@@ -78,10 +78,13 @@ extern "C" unsigned __stdcall GetSystemD + #define FLUID_CHORUS_DEFAULT_LEVEL 2.0f + #define FLUID_CHORUS_DEFAULT_SPEED 0.3f + #define FLUID_CHORUS_DEFAULT_DEPTH 8.0f +-#define FLUID_CHORUS_DEFAULT_TYPE FLUID_CHORUS_MOD_SINE + + #endif + ++#ifndef FLUID_CHORUS_DEFAULT_TYPE ++#define FLUID_CHORUS_DEFAULT_TYPE FLUID_CHORUS_MOD_SINE ++#endif ++ + // TYPES ------------------------------------------------------------------- + + // EXTERNAL FUNCTION PROTOTYPES -------------------------------------------- |