aboutsummaryrefslogtreecommitdiff
path: root/audio/gkrellmvolume2/files/patch-oss_mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gkrellmvolume2/files/patch-oss_mixer.c')
-rw-r--r--audio/gkrellmvolume2/files/patch-oss_mixer.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/audio/gkrellmvolume2/files/patch-oss_mixer.c b/audio/gkrellmvolume2/files/patch-oss_mixer.c
deleted file mode 100644
index c75de5ef7742..000000000000
--- a/audio/gkrellmvolume2/files/patch-oss_mixer.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- oss_mixer.c.orig 2004-08-20 00:07:27.000000000 +0400
-+++ oss_mixer.c 2015-02-01 20:21:32.000000000 +0300
-@@ -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 "oss_mixer.h"
-@@ -126,7 +129,7 @@
- long amount;
- ioctl(OSSMIXER(mixer)->fd,MIXER_READ(OSSMIXER(mixer)->table[devid]),&amount);
- *left = amount & 0xff;
-- *right = amount >> 8;
-+ *right = (amount >> 8) & 0xff;
- }
-
- static void