summaryrefslogtreecommitdiff
path: root/emulators/wine/patches/patch-am
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-06-18 23:48:52 +0000
committertron <tron@pkgsrc.org>1998-06-18 23:48:52 +0000
commit3ce05840ffa4dc0fe1fd4a258a1efd039b64899c (patch)
tree759a6b8b5c6087d2dbb28d0aa0d782b45b99f8ae /emulators/wine/patches/patch-am
parentac2e2b57de284f7c3fbeb2bb94cb16032bfdd1ba (diff)
downloadpkgsrc-3ce05840ffa4dc0fe1fd4a258a1efd039b64899c.tar.gz
Update Wine to 14-Jun-98 snapshot.
XXX Audio support is probably broken due to massive use of unsupported XXX Linux stuff in the OSS interface which I commented out. However XXX I don't have an application to test it.
Diffstat (limited to 'emulators/wine/patches/patch-am')
-rw-r--r--emulators/wine/patches/patch-am29
1 files changed, 29 insertions, 0 deletions
diff --git a/emulators/wine/patches/patch-am b/emulators/wine/patches/patch-am
new file mode 100644
index 00000000000..6a7f4069266
--- /dev/null
+++ b/emulators/wine/patches/patch-am
@@ -0,0 +1,29 @@
+--- multimedia/init.c.orig Sat May 30 17:29:48 1998
++++ multimedia/init.c Fri Jun 19 00:52:52 1998
+@@ -29,6 +29,7 @@
+ #ifdef HAVE_OSS
+ int unixToWindowsDeviceType(int type)
+ {
++#ifndef __NetBSD__
+ /* MOD_MIDIPORT output port
+ * MOD_SYNTH generic internal synth
+ * MOD_SQSYNTH square wave internal synth
+@@ -46,6 +47,9 @@
+ ERR(midi, "Cannot determine the type of this midi device. Assuming FM Synth\n");
+ return MOD_FMSYNTH;
+ }
++#else
++ return MOD_FMSYNTH;
++#endif
+ }
+ #endif
+
+@@ -57,7 +61,7 @@
+ */
+ BOOL32 MULTIMEDIA_Init (void)
+ {
+-#ifdef HAVE_OSS
++#if defined(HAVE_OSS) && !defined(__NetBSD__)
+ int i, status, numsynthdevs, nummididevs;
+ struct synth_info sinfo;
+ struct midi_info minfo;