diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-02 18:53:11 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-02 18:53:11 +0000 |
commit | a47798f84bbdcf7742b8c8a22f4006b5d27ffe82 (patch) | |
tree | 0f98fc363d36c396140b363f7f2b3a9aac06e258 /games-engines/scummvm/files/0.5.1-alsa.patch | |
parent | Closing #36445 (diff) | |
download | gentoo-2-a47798f84bbdcf7742b8c8a22f4006b5d27ffe82.tar.gz gentoo-2-a47798f84bbdcf7742b8c8a22f4006b5d27ffe82.tar.bz2 gentoo-2-a47798f84bbdcf7742b8c8a22f4006b5d27ffe82.zip |
Add patch to compile against new Alsa (bug 36191)
Diffstat (limited to 'games-engines/scummvm/files/0.5.1-alsa.patch')
-rw-r--r-- | games-engines/scummvm/files/0.5.1-alsa.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games-engines/scummvm/files/0.5.1-alsa.patch b/games-engines/scummvm/files/0.5.1-alsa.patch new file mode 100644 index 000000000000..37528000b51c --- /dev/null +++ b/games-engines/scummvm/files/0.5.1-alsa.patch @@ -0,0 +1,22 @@ +--- backends/midi/alsa.cpp 2003-07-06 20:19:54.000000000 +0000 ++++ backends/midi/alsa.cpp.patched 2004-01-02 17:13:45.268397592 +0000 +@@ -37,6 +37,11 @@ + * (you really rox, you know?) + */ + ++#if SND_LIB_MAJOR >= 1 ++#define snd_seq_flush_output(x) snd_seq_drain_output(x) ++#define snd_seq_set_client_group(x,name) /*nop */ ++#define my_snd_seq_open(seqp) snd_seq_open(seqp, "hw", SND_SEQ_OPEN_OUTPUT, 0) ++#else + #if SND_LIB_MINOR >= 6 + #define snd_seq_flush_output(x) snd_seq_drain_output(x) + #define snd_seq_set_client_group(x,name) /*nop */ +@@ -45,6 +50,7 @@ + /* SND_SEQ_OPEN_OUT causes oops on early version of ALSA */ + #define my_snd_seq_open(seqp) snd_seq_open(seqp, SND_SEQ_OPEN) + #endif ++#endif + + /* + * parse address string |