Index: Makefile =================================================================== --- Makefile (revision 378114) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= gkrellmvolume PORTVERSION= 2.1.13 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= audio MASTER_SITES= http://gkrellm.luon.net/files/ PKGNAMESUFFIX= 2 Index: files/patch-oss_mixer.c =================================================================== --- files/patch-oss_mixer.c (revision 378114) +++ files/patch-oss_mixer.c (working copy) @@ -1,7 +1,5 @@ -Index: oss_mixer.c -diff -u -p oss_mixer.c.orig oss_mixer.c ---- oss_mixer.c.orig Wed May 19 04:39:27 2004 -+++ oss_mixer.c Wed May 19 04:39:43 2004 +--- 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 @@ -12,3 +10,12 @@ #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