aboutsummaryrefslogtreecommitdiff
path: root/audio/playmidi
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-17 19:20:17 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-17 19:20:17 +0000
commit6d6e71f014b59b1a8db28aa88c28182569622766 (patch)
tree4b7ad6de05a4bf0100d487e122076e042d1e8ac4 /audio/playmidi
parentc9a8652f83b16c22041eedbafa3d8606cfb92806 (diff)
downloadports-6d6e71f014b59b1a8db28aa88c28182569622766.tar.gz
ports-6d6e71f014b59b1a8db28aa88c28182569622766.zip
Notes
Diffstat (limited to 'audio/playmidi')
-rw-r--r--audio/playmidi/Makefile2
-rw-r--r--audio/playmidi/files/patch-ad12
2 files changed, 1 insertions, 13 deletions
diff --git a/audio/playmidi/Makefile b/audio/playmidi/Makefile
index 912d419311bc..9929f177fa18 100644
--- a/audio/playmidi/Makefile
+++ b/audio/playmidi/Makefile
@@ -15,7 +15,7 @@ COMMENT= MIDI player
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 501000
+.if ${OSVERSION} > 500014
BROKEN= "Does not compile"
.endif
diff --git a/audio/playmidi/files/patch-ad b/audio/playmidi/files/patch-ad
index 03a60f814d40..53ef556a7e4b 100644
--- a/audio/playmidi/files/patch-ad
+++ b/audio/playmidi/files/patch-ad
@@ -15,15 +15,3 @@
#define ISPERC(x) (perc & (1 << x))
#define ISGUS(x) (play_gus & (1 << x))
#define ISFM(x) (play_fm & (1 << x))
-@@ -50,7 +50,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
-+#ifdef __FreeBSD__
-+#include <machine/soundcard.h>
-+#else
- #include <sys/soundcard.h>
-+#endif
- #include <sys/ioctl.h>
- #ifdef linux
- #include <linux/awe_voice.h>