aboutsummaryrefslogtreecommitdiff
path: root/audio/playmidi
diff options
context:
space:
mode:
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>