diff options
Diffstat (limited to 'audio/gkrellmvolume2')
-rw-r--r-- | audio/gkrellmvolume2/files/patch-Makefile | 15 | ||||
-rw-r--r-- | audio/gkrellmvolume2/files/patch-oss__mixer.c (renamed from audio/gkrellmvolume2/files/patch-oss_mixer.c) | 6 |
2 files changed, 10 insertions, 11 deletions
diff --git a/audio/gkrellmvolume2/files/patch-Makefile b/audio/gkrellmvolume2/files/patch-Makefile index fceb1bf7e3ae..e75bc5200c94 100644 --- a/audio/gkrellmvolume2/files/patch-Makefile +++ b/audio/gkrellmvolume2/files/patch-Makefile @@ -1,8 +1,7 @@ Index: Makefile -diff -u Makefile.orig Makefile ---- Makefile.orig Thu Nov 7 01:50:59 2002 -+++ Makefile Thu Nov 7 04:49:05 2002 -@@ -3,12 +3,12 @@ +--- Makefile.orig 2004-08-19 20:07:27 UTC ++++ Makefile +@@ -9,12 +9,12 @@ export PACKAGE LOCALEDIR GTK_CONFIG = pkg-config gtk+-2.0 PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins @@ -17,16 +16,16 @@ diff -u Makefile.orig Makefile LIBS = $(GTK_LIB) LFLAGS = -shared -@@ -22,8 +22,6 @@ - FLAGS += -DPACKAGE="\"$(PACKAGE)\"" - export PACKAGE LOCALEDIR +@@ -31,8 +31,6 @@ ifeq ($(enable_nls),1) + export enable_nls + endif -CC = gcc $(CFLAGS) $(FLAGS) - INSTALL = install -c INSTALL_PROGRAM = $(INSTALL) -s -@@ -33,7 +31,7 @@ +@@ -40,7 +38,7 @@ all: volume.so (cd po && ${MAKE} all ) volume.so: $(OBJS) diff --git a/audio/gkrellmvolume2/files/patch-oss_mixer.c b/audio/gkrellmvolume2/files/patch-oss__mixer.c index c75de5ef7742..f6892f590977 100644 --- a/audio/gkrellmvolume2/files/patch-oss_mixer.c +++ b/audio/gkrellmvolume2/files/patch-oss__mixer.c @@ -1,5 +1,5 @@ ---- oss_mixer.c.orig 2004-08-20 00:07:27.000000000 +0400 -+++ oss_mixer.c 2015-02-01 20:21:32.000000000 +0300 +--- oss_mixer.c.orig 2004-08-19 20:07:27 UTC ++++ oss_mixer.c @@ -32,6 +32,9 @@ #else #include <sys/soundcard.h> @@ -10,7 +10,7 @@ #include "mixer.h" #include "oss_mixer.h" -@@ -126,7 +129,7 @@ +@@ -126,7 +129,7 @@ oss_mixer_device_get_volume(mixer_t *mix long amount; ioctl(OSSMIXER(mixer)->fd,MIXER_READ(OSSMIXER(mixer)->table[devid]),&amount); *left = amount & 0xff; |