View | Details | Raw Unified | Return to bug 197247 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	gkrellmvolume
4
PORTNAME=	gkrellmvolume
5
PORTVERSION=	2.1.13
5
PORTVERSION=	2.1.13
6
PORTREVISION=	9
6
PORTREVISION=	10
7
CATEGORIES=	audio
7
CATEGORIES=	audio
8
MASTER_SITES=	http://gkrellm.luon.net/files/
8
MASTER_SITES=	http://gkrellm.luon.net/files/
9
PKGNAMESUFFIX=	2
9
PKGNAMESUFFIX=	2
(-)files/patch-oss_mixer.c (-4 / +11 lines)
Lines 1-7 Link Here
1
Index: oss_mixer.c
1
--- oss_mixer.c.orig	2004-08-20 00:07:27.000000000 +0400
2
diff -u -p oss_mixer.c.orig oss_mixer.c
2
+++ oss_mixer.c	2015-02-01 20:21:32.000000000 +0300
3
--- oss_mixer.c.orig	Wed May 19 04:39:27 2004
4
+++ oss_mixer.c	Wed May 19 04:39:43 2004
5
@@ -32,6 +32,9 @@
3
@@ -32,6 +32,9 @@
6
 #else
4
 #else
7
   #include <sys/soundcard.h>
5
   #include <sys/soundcard.h>
Lines 12-14 Link Here
12
 
10
 
13
 #include "mixer.h"
11
 #include "mixer.h"
14
 #include "oss_mixer.h"
12
 #include "oss_mixer.h"
13
@@ -126,7 +129,7 @@
14
   long amount;
15
   ioctl(OSSMIXER(mixer)->fd,MIXER_READ(OSSMIXER(mixer)->table[devid]),&amount);
16
   *left = amount & 0xff;
17
-  *right = amount >> 8;
18
+  *right = (amount >> 8) & 0xff;
19
 }
20
 
21
 static void  

Return to bug 197247