diff options
author | ume <ume@FreeBSD.org> | 2003-09-27 12:02:24 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-09-27 12:02:24 +0800 |
commit | 01a85edfc4f084a2b56a64bd803f04202cde364f (patch) | |
tree | 1110d45411a52e5ced8b1bf57e2228100bb65066 /audio/gkrellmvolume2 | |
parent | ddc44e6152e72c36b0cce33be04d72cac45cddef (diff) | |
download | freebsd-ports-gnome-01a85edfc4f084a2b56a64bd803f04202cde364f.tar.gz freebsd-ports-gnome-01a85edfc4f084a2b56a64bd803f04202cde364f.tar.zst freebsd-ports-gnome-01a85edfc4f084a2b56a64bd803f04202cde364f.zip |
Though recent FreeBSD has SOUND_MIXER_INFO defined. it seems
incompatible with the one gkrellmvolume expects.
Reported by: "Kevin Oberman" <oberman@es.net>
Diffstat (limited to 'audio/gkrellmvolume2')
-rw-r--r-- | audio/gkrellmvolume2/Makefile | 1 | ||||
-rw-r--r-- | audio/gkrellmvolume2/files/patch-unix_mixer.c | 14 |
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" |