From 34f7a66b4e20715404619adbef55c4b67346d72b Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Wed, 17 Nov 2004 09:47:38 +0000 Subject: o Update to 0.6.1(2004/11/15 snapshot). FreeBSD related changes: physical cdrom fix, audio merge PR: ports/74015 Submitted by: Juergen Lock (maintainer) --- emulators/qemu/files/patch-audio::audio.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 emulators/qemu/files/patch-audio::audio.c (limited to 'emulators/qemu/files/patch-audio::audio.c') diff --git a/emulators/qemu/files/patch-audio::audio.c b/emulators/qemu/files/patch-audio::audio.c new file mode 100644 index 000000000000..0b50a522e6fd --- /dev/null +++ b/emulators/qemu/files/patch-audio::audio.c @@ -0,0 +1,12 @@ +Index: qemu/audio/audio.c +@@ -28,6 +28,10 @@ + + #include "audio/audio_int.h" + ++#ifndef INT16_MAX ++#define INT16_MAX 0x7fff ++#endif ++ + #define dolog(...) AUD_log ("audio", __VA_ARGS__) + #ifdef DEBUG + #define ldebug(...) dolog (__VA_ARGS__) -- cgit v1.2.3