Index: head/audio/gkrellmvolume2/Makefile =================================================================== --- head/audio/gkrellmvolume2/Makefile (revision 378361) +++ head/audio/gkrellmvolume2/Makefile (revision 378362) @@ -1,39 +1,39 @@ # Created by: Hajimu UMEMOTO # $FreeBSD$ PORTNAME= gkrellmvolume PORTVERSION= 2.1.13 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= audio MASTER_SITES= http://gkrellm.luon.net/files/ PKGNAMESUFFIX= 2 DISTNAME= gkrellm-volume-${PORTVERSION} MAINTAINER= ume@FreeBSD.org COMMENT= GKrellM volume plugin BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 WRKSRC= ${WRKDIR}/gkrellm-volume PLIST_FILES= libexec/gkrellm2/plugins/volume.so \ share/locale/de/LC_MESSAGES/gkrellm-volume.mo \ share/locale/es/LC_MESSAGES/gkrellm-volume.mo \ share/locale/fr/LC_MESSAGES/gkrellm-volume.mo \ share/locale/nl/LC_MESSAGES/gkrellm-volume.mo \ share/locale/pl/LC_MESSAGES/gkrellm-volume.mo \ share/locale/ru/LC_MESSAGES/gkrellm-volume.mo USES= gettext gmake pkgconfig PLUGIN_DIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins MAKE_ENV+= PLUGIN_DIR=${PLUGIN_DIR} \ LOCALEDIR=${STAGEDIR}${PREFIX}/share/locale \ enable_nls=1 pre-install: @${MKDIR} ${PLUGIN_DIR} .include Index: head/audio/gkrellmvolume2/files/patch-oss_mixer.c =================================================================== --- head/audio/gkrellmvolume2/files/patch-oss_mixer.c (revision 378361) +++ head/audio/gkrellmvolume2/files/patch-oss_mixer.c (revision 378362) @@ -1,14 +1,21 @@ -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 #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 Index: head/audio/gkrellmvolume2/pkg-descr =================================================================== --- head/audio/gkrellmvolume2/pkg-descr (revision 378361) +++ head/audio/gkrellmvolume2/pkg-descr (revision 378362) @@ -1,6 +1,5 @@ GKrellM volume plugin A plugin for gkrellm 2.0, that lets you control your mixer.. -Author: Sjoerd Simons -WWW: http://gkrellm.luon.net/volume.phtml +WWW: http://gkrellm.luon.net/volume.php