diff options
Diffstat (limited to 'emulators/wine/patches/patch-aj')
-rw-r--r-- | emulators/wine/patches/patch-aj | 46 |
1 files changed, 35 insertions, 11 deletions
diff --git a/emulators/wine/patches/patch-aj b/emulators/wine/patches/patch-aj index 90ec13e8fb5..1ebede928da 100644 --- a/emulators/wine/patches/patch-aj +++ b/emulators/wine/patches/patch-aj @@ -1,13 +1,37 @@ -$NetBSD: patch-aj,v 1.2 1998/08/07 10:40:36 agc Exp $ +$NetBSD: patch-aj,v 1.3 1998/12/14 02:17:11 tv Exp $ ---- scheduler/sysdeps.c.orig Sun May 31 18:15:25 1998 -+++ scheduler/sysdeps.c Thu Jun 18 00:38:41 1998 -@@ -16,6 +16,8 @@ - #include <unistd.h> - #include "thread.h" - #include "winbase.h" -+#include "debug.h" -+#include "debugtools.h" +--- multimedia/midi.c.orig Sun Dec 13 11:27:17 1998 ++++ multimedia/midi.c Sun Dec 13 11:31:30 1998 +@@ -108,7 +108,7 @@ + /*======================================================================* + * Low level MIDI implemantation * + *======================================================================*/ +- ++#ifndef __NetBSD__ + /************************************************************************** + * MIDI_NotifyClient [internal] + */ +@@ -1482,6 +1482,7 @@ + */ + return MMSYSERR_NOTENABLED; + } ++#endif - /* Xlib critical section (FIXME: does not belong here) */ - CRITICAL_SECTION X11DRV_CritSection = { 0, }; + /*======================================================================* + * MIDI entry points * +@@ -1497,6 +1498,7 @@ + wDevID, wMsg, dwUser, dwParam1, dwParam2); + + switch (wMsg) { ++#ifndef __NetBSD__ + case MODM_OPEN: + return modOpen(wDevID, (LPMIDIOPENDESC)dwParam1, dwParam2); + case MODM_CLOSE: +@@ -1519,6 +1521,7 @@ + return 0; + case MODM_RESET: + return modReset(wDevID); ++#endif + default: + TRACE(midi, "Unsupported message\n"); + } |