freebsd-ports/audio/gkrellmvolume2/files/patch-unix_mixer.c
Hajimu UMEMOTO 0dc801978b Though recent FreeBSD has SOUND_MIXER_INFO defined. it seems
incompatible with the one gkrellmvolume expects.

Reported by:	"Kevin Oberman" <oberman@es.net>
2003-09-27 04:02:24 +00:00

14 lines
348 B
C

Index: unix_mixer.c
diff -u unix_mixer.c.orig unix_mixer.c
--- unix_mixer.c.orig Tue Jun 17 04:03:16 2003
+++ unix_mixer.c Sat Sep 27 12:51:20 2003
@@ -32,6 +32,9 @@
#else
#include <sys/soundcard.h>
#endif
+#if defined(SOUND_MIXER_INFO) && defined(__FreeBSD__)
+#undef SOUND_MIXER_INFO
+#endif
#include "mixer.h"
#include "common_mixer.h"