diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-11 17:57:10 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:24 +0700 |
commit | 895fd8d1f9ce94be83afe4830048c241ea4e2608 (patch) | |
tree | c661eec47be736286b999aa529a3f1d9f331e978 /games/scummvm/fix-fluidsynth2-build.diff | |
parent | 343fee2f5327aa2d2ad54c5eb5246cd8d59415ef (diff) |
games/scummvm: Updated for version 2.1.2, fix build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/scummvm/fix-fluidsynth2-build.diff')
-rw-r--r-- | games/scummvm/fix-fluidsynth2-build.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/games/scummvm/fix-fluidsynth2-build.diff b/games/scummvm/fix-fluidsynth2-build.diff new file mode 100644 index 0000000000000..db7edcd335c88 --- /dev/null +++ b/games/scummvm/fix-fluidsynth2-build.diff @@ -0,0 +1,27 @@ +diff -Naur scummvm-2.1.2/audio/softsynth/fluidsynth.cpp scummvm-2.1.2.patched/audio/softsynth/fluidsynth.cpp +--- scummvm-2.1.2/audio/softsynth/fluidsynth.cpp 2020-03-30 18:32:51.000000000 -0400 ++++ scummvm-2.1.2.patched/audio/softsynth/fluidsynth.cpp 2020-04-11 17:40:39.247407731 -0400 +@@ -20,10 +20,13 @@ + * + */ + +-#include "common/scummsys.h" ++#include "config.h" + + #ifdef USE_FLUIDSYNTH + ++#include <fluidsynth.h> ++ ++#include "common/scummsys.h" + #include "common/config-manager.h" + #include "common/error.h" + #include "common/system.h" +@@ -35,8 +38,6 @@ + #include "backends/platform/ios7/ios7_common.h" + #endif + +-#include <fluidsynth.h> +- + class MidiDriver_FluidSynth : public MidiDriver_Emulated { + private: + MidiChannel_MPU401 _midiChannels[16]; |