summaryrefslogtreecommitdiff
path: root/audio/playmidi/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-17 21:34:54 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-17 21:34:54 +0000
commite723890f3cd347f6828f765dbda8dc1a4946ede1 (patch)
tree4997e12501c2291b539585cba7a0339f831cbde3 /audio/playmidi/files
parentCompile python files on installation. (diff)
Unbreak on 5.x. It will not work with Gravis Ultrasound boards,
but they're almost extinct today anyway. Submitted by: Mathew Kanner <mat@cnd.mcgill.ca> Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94204
Diffstat (limited to 'audio/playmidi/files')
-rw-r--r--audio/playmidi/files/extra-emumidi.h10
-rw-r--r--audio/playmidi/files/extra-patchload.c18
2 files changed, 28 insertions, 0 deletions
diff --git a/audio/playmidi/files/extra-emumidi.h b/audio/playmidi/files/extra-emumidi.h
new file mode 100644
index 000000000000..39df7639dc57
--- /dev/null
+++ b/audio/playmidi/files/extra-emumidi.h
@@ -0,0 +1,10 @@
+--- emumidi.h.orig Sun May 11 23:26:36 1997
++++ emumidi.h Mon Nov 17 22:05:20 2003
+@@ -17,7 +17,6 @@
+ #ifdef linux
+ #include <linux/ultrasound.h>
+ #else
+-#include <machine/ultrasound.h>
+ #endif
+
+ /*
diff --git a/audio/playmidi/files/extra-patchload.c b/audio/playmidi/files/extra-patchload.c
new file mode 100644
index 000000000000..904a15095111
--- /dev/null
+++ b/audio/playmidi/files/extra-patchload.c
@@ -0,0 +1,18 @@
+--- patchload.c.orig Sat Feb 7 17:22:51 1998
++++ patchload.c Mon Nov 17 22:10:07 2003
+@@ -19,7 +19,6 @@
+ #ifdef linux
+ #include <linux/ultrasound.h>
+ #else
+-#include <machine/ultrasound.h>
+ #endif
+ #include <sys/stat.h>
+ #include <fcntl.h>
+@@ -93,7 +92,6 @@
+
+ if (pgm < 0) {
+ use8bit = force8bit;
+- GUS_NUMVOICES(gus_dev, (card_info[gus_dev].nr_voices = 32));
+ SEQ_DUMPBUF();
+ for (i = 0; i < 256; i++)
+ patchloaded[i] = 0;