diff options
Diffstat (limited to 'games-emulation/dosbox/files')
-rw-r--r-- | games-emulation/dosbox/files/0.60-alsa-1.0.0.patch | 21 | ||||
-rw-r--r-- | games-emulation/dosbox/files/digest-dosbox-0.57 | 1 | ||||
-rw-r--r-- | games-emulation/dosbox/files/digest-dosbox-0.58 | 1 |
3 files changed, 21 insertions, 2 deletions
diff --git a/games-emulation/dosbox/files/0.60-alsa-1.0.0.patch b/games-emulation/dosbox/files/0.60-alsa-1.0.0.patch new file mode 100644 index 000000000000..998da4e00a1e --- /dev/null +++ b/games-emulation/dosbox/files/0.60-alsa-1.0.0.patch @@ -0,0 +1,21 @@ +--- dosbox-0.60.orig/src/gui/midi_alsa.h 2003-12-12 01:02:33.207257320 -0500 ++++ dosbox-0.60/src/gui/midi_alsa.h 2003-12-12 01:02:45.245427240 -0500 +@@ -16,12 +16,17 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + ++#include <alsa/version.h> ++# if SND_LIB_MAJOR==1 ++#define ALSA_PCM_OLD_HW_PARAMS_API ++#define ALSA_PCM_NEW_HW_PARAMS_API ++# endif + #include <alsa/asoundlib.h> + #include <ctype.h> + + #define ADDR_DELIM ".:" + +-#if SND_LIB_MINOR >= 6 ++#if SND_LIB_MINOR >= 6 || 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) diff --git a/games-emulation/dosbox/files/digest-dosbox-0.57 b/games-emulation/dosbox/files/digest-dosbox-0.57 deleted file mode 100644 index f1e74fdb1099..000000000000 --- a/games-emulation/dosbox/files/digest-dosbox-0.57 +++ /dev/null @@ -1 +0,0 @@ -MD5 0b12c73d00fea1e8dc9dbc2df7276637 dosbox-0.57.tar.gz 351897 diff --git a/games-emulation/dosbox/files/digest-dosbox-0.58 b/games-emulation/dosbox/files/digest-dosbox-0.58 deleted file mode 100644 index d69a70486cca..000000000000 --- a/games-emulation/dosbox/files/digest-dosbox-0.58 +++ /dev/null @@ -1 +0,0 @@ -MD5 91c49a597134f35f899d32a8b253205b dosbox-0.58.tar.gz 421487 |