aboutsummaryrefslogtreecommitdiff
path: root/audio/gkrellmvolume2
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gkrellmvolume2')
-rw-r--r--audio/gkrellmvolume2/Makefile1
-rw-r--r--audio/gkrellmvolume2/files/patch-unix_mixer.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/audio/gkrellmvolume2/Makefile b/audio/gkrellmvolume2/Makefile
index dcefb68983e8..1e856434f93a 100644
--- a/audio/gkrellmvolume2/Makefile
+++ b/audio/gkrellmvolume2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gkrellmvolume
PORTVERSION= 2.1.8
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://gkrellm.luon.net/files/
DISTNAME= gkrellm-volume-${PORTVERSION}
diff --git a/audio/gkrellmvolume2/files/patch-unix_mixer.c b/audio/gkrellmvolume2/files/patch-unix_mixer.c
new file mode 100644
index 000000000000..83f0dd2077e1
--- /dev/null
+++ b/audio/gkrellmvolume2/files/patch-unix_mixer.c
@@ -0,0 +1,14 @@
+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"