View | Details | Raw Unified | Return to bug 59004
Collapse All | Expand All

(-)audio/playmidi/Makefile (-6 / +2 lines)
Lines 13-23 Link Here
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	MIDI player
14
COMMENT=	MIDI player
15
15
16
.include <bsd.port.pre.mk>
16
ONLY_FOR_ARCHS=	i386
17
18
.if ${OSVERSION} > 501000
19
BROKEN=		"Does not compile"
20
.endif
21
17
22
IS_INTERACTIVE=	YES	# asks what devices you want to support
18
IS_INTERACTIVE=	YES	# asks what devices you want to support
23
HAS_CONFIGURE=	YES
19
HAS_CONFIGURE=	YES
Lines 26-29 Link Here
26
INSTALL_TARGET=	install.lame install.man
22
INSTALL_TARGET=	install.lame install.man
27
MAN1=		playmidi.1
23
MAN1=		playmidi.1
28
24
29
.include <bsd.port.post.mk>
25
.include <bsd.port.mk>
(-)audio/playmidi/files/patch-ad (-12 lines)
Lines 15-29 Link Here
15
 #define ISPERC(x)	(perc & (1 << x))
15
 #define ISPERC(x)	(perc & (1 << x))
16
 #define ISGUS(x)	(play_gus & (1 << x))
16
 #define ISGUS(x)	(play_gus & (1 << x))
17
 #define ISFM(x)		(play_fm & (1 << x))
17
 #define ISFM(x)		(play_fm & (1 << x))
18
@@ -50,7 +50,11 @@
19
 #include <stdio.h>
20
 #include <string.h>
21
 #include <stdlib.h>
22
+#ifdef __FreeBSD__
23
+#include <machine/soundcard.h>
24
+#else
25
 #include <sys/soundcard.h>
26
+#endif
27
 #include <sys/ioctl.h>
28
 #ifdef linux
29
 #include <linux/awe_voice.h>

Return to bug 59004