Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.2
dunelegacy
fix-build-with-SDL_mixer-2.0.2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build-with-SDL_mixer-2.0.2.patch of Package dunelegacy
diff -ur dunelegacy-0.96.4.orig/src/FileClasses/music/DirectoryPlayer.cpp dunelegacy-0.96.4/src/FileClasses/music/DirectoryPlayer.cpp --- dunelegacy-0.96.4.orig/src/FileClasses/music/DirectoryPlayer.cpp 2016-11-20 15:57:02.000000000 +0100 +++ dunelegacy-0.96.4/src/FileClasses/music/DirectoryPlayer.cpp 2018-04-07 20:18:15.596685772 +0200 @@ -61,7 +61,7 @@ music = nullptr; - Mix_Init(MIX_INIT_FLUIDSYNTH | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG); + Mix_Init(MIX_INIT_MID | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG); } DirectoryPlayer::~DirectoryPlayer() { diff -ur dunelegacy-0.96.4.orig/src/FileClasses/music/XMIPlayer.cpp dunelegacy-0.96.4/src/FileClasses/music/XMIPlayer.cpp --- dunelegacy-0.96.4.orig/src/FileClasses/music/XMIPlayer.cpp 2016-11-18 00:06:11.000000000 +0100 +++ dunelegacy-0.96.4/src/FileClasses/music/XMIPlayer.cpp 2018-04-07 20:18:15.568685771 +0200 @@ -32,7 +32,7 @@ XMIPlayer::XMIPlayer() : MusicPlayer(settings.audio.playMusic, settings.audio.musicVolume) { music = nullptr; - if((Mix_Init(MIX_INIT_FLUIDSYNTH) & MIX_INIT_FLUIDSYNTH) == 0) { + if((Mix_Init(MIX_INIT_MID) & MIX_INIT_MID) == 0) { SDL_Log("XMIPlayer: Failed to init required midi support: %s", SDL_GetError()); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor