summaryrefslogtreecommitdiff
path: root/audio/gkrellm-volume
diff options
context:
space:
mode:
authorwiz <wiz>2002-06-11 22:54:10 +0000
committerwiz <wiz>2002-06-11 22:54:10 +0000
commitb98b96ecffe25682b34105b66456f01d19a598a8 (patch)
tree4e14c0b6ffb7b9382ad7db3f2be0c51608dcadb4 /audio/gkrellm-volume
parent48287818ec37803b14e4e65968ed3bdecc28fcc9 (diff)
downloadpkgsrc-b98b96ecffe25682b34105b66456f01d19a598a8.tar.gz
Swap patch-aa and patch-ab, and use a cleaner version of patch-ab provided by
ptiJo in 17217.
Diffstat (limited to 'audio/gkrellm-volume')
-rw-r--r--audio/gkrellm-volume/distinfo6
-rw-r--r--audio/gkrellm-volume/patches/patch-aa68
-rw-r--r--audio/gkrellm-volume/patches/patch-ab68
3 files changed, 71 insertions, 71 deletions
diff --git a/audio/gkrellm-volume/distinfo b/audio/gkrellm-volume/distinfo
index c28ccf768f9..f7ffba2fa48 100644
--- a/audio/gkrellm-volume/distinfo
+++ b/audio/gkrellm-volume/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $
+$NetBSD: distinfo,v 1.2 2002/06/11 22:54:10 wiz Exp $
SHA1 (volume-0.8.tar.gz) = 7348c8fc41bdc6c236442748ef3c803851a151f8
Size (volume-0.8.tar.gz) = 8395 bytes
-SHA1 (patch-aa) = 75b6ada0775c4f574fffb00cebc3dcc8d3af1cf2
-SHA1 (patch-ab) = b05e4a5b539b1710298820518090aeb8689fed11
+SHA1 (patch-aa) = adf96e0bd1e2b65e85394c4c50ce1db587b73195
+SHA1 (patch-ab) = 9281f2e550134887bfbc99464ab79987f4a26183
diff --git a/audio/gkrellm-volume/patches/patch-aa b/audio/gkrellm-volume/patches/patch-aa
index 6ad5070e637..755fa550dc7 100644
--- a/audio/gkrellm-volume/patches/patch-aa
+++ b/audio/gkrellm-volume/patches/patch-aa
@@ -1,13 +1,57 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2002/06/11 22:54:11 wiz Exp $
---- volume.c.orig Sun Apr 14 17:22:08 2002
-+++ volume.c Sun Apr 14 17:22:23 2002
-@@ -20,7 +20,7 @@
- #ifdef __FreeBSD__
- #include <machine/soundcard.h>
- #else
--#include <sys/soundcard.h>
-+#include <soundcard.h>
- #endif
-
- #include "volume.h"
+--- Makefile.orig Fri Jun 23 19:47:00 2000
++++ Makefile
+@@ -1,27 +1,19 @@
+ # Makefile for GKrellM volume plugin
+
+-# Linux
+-GTK_CONFIG = gtk-config
+-SYSLIB = -lpthread
+-
+-# FreeBSD
+-#GTK_CONFIG = gtk12-config
+-#SYSLIB =
+-
+-PLUGIN_DIR = /usr/share/gkrellm/plugins
++PLUGIN_DIR = ${LOCALBASE}/lib/gkrellm/plugins
+ GKRELLM_INCLUDE = -I/usr/local/include
+
+-GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+-GTK_LIB = `$(GTK_CONFIG) --libs`
++GTK_INCLUDE = `gtk-config --cflags`
++GTK_LIB = `gtk-config --libs`
+
+ IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+ IMLIB_LIB = `imlib-config --libs-gdk`
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
+-LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
+-LFLAGS = -shared
++CFLAGS+= -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
++LIBS+= $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
++LFLAGS+= -shared -lpthread -lossaudio
+
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = gcc $(CFLAGS)
+
+ INSTALL = install -c
+ INSTALL_PROGRAM = $(INSTALL) -s
+@@ -30,9 +22,6 @@
+
+ all: volume.so
+
+-freebsd:
+- make GTK_CONFIG=gtk12-config SYSLIB=all
+-
+ volume.so: $(OBJS)
+ $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
+
+@@ -40,6 +29,7 @@
+ rm -f *.o core *.so* *.bak *~
+
+ install:
++ mkdir -p $(PLUGIN_DIR)
+ $(INSTALL_PROGRAM) volume.so $(PLUGIN_DIR)
+
+ volume.c.o: volume.c
diff --git a/audio/gkrellm-volume/patches/patch-ab b/audio/gkrellm-volume/patches/patch-ab
index 5b9f81abab4..6303f0f2edc 100644
--- a/audio/gkrellm-volume/patches/patch-ab
+++ b/audio/gkrellm-volume/patches/patch-ab
@@ -1,57 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2002/06/11 22:54:11 wiz Exp $
---- Makefile.orig Sun Apr 14 21:36:15 2002
-+++ Makefile Sun Apr 14 21:37:33 2002
-@@ -1,27 +1,19 @@
- # Makefile for GKrellM volume plugin
-
--# Linux
--GTK_CONFIG = gtk-config
--SYSLIB = -lpthread
--
--# FreeBSD
--#GTK_CONFIG = gtk12-config
--#SYSLIB =
--
--PLUGIN_DIR = /usr/share/gkrellm/plugins
-+PLUGIN_DIR = ${LOCALBASE}/lib/gkrellm/plugins
- GKRELLM_INCLUDE = -I/usr/local/include
-
--GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
--GTK_LIB = `$(GTK_CONFIG) --libs`
-+GTK_INCLUDE = `gtk-config --cflags`
-+GTK_LIB = `gtk-config --libs`
-
- IMLIB_INCLUDE = `imlib-config --cflags-gdk`
- IMLIB_LIB = `imlib-config --libs-gdk`
-
--FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
--LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
--LFLAGS = -shared
-+CFLAGS+= -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
-+LIBS+= $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
-+LFLAGS+= -shared -lpthread -lossaudio
-
--CC = gcc $(CFLAGS) $(FLAGS)
-+CC = gcc $(CFLAGS)
-
- INSTALL = install -c
- INSTALL_PROGRAM = $(INSTALL) -s
-@@ -30,9 +22,6 @@
-
- all: volume.so
-
--freebsd:
-- make GTK_CONFIG=gtk12-config SYSLIB=all
--
- volume.so: $(OBJS)
- $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
-
-@@ -40,6 +29,7 @@
- rm -f *.o core *.so* *.bak *~
-
- install:
-+ mkdir -p $(PLUGIN_DIR)
- $(INSTALL_PROGRAM) volume.so $(PLUGIN_DIR)
-
- volume.c.o: volume.c
+--- volume.c.orig Wed Nov 22 21:35:42 2000
++++ volume.c
+@@ -19,6 +19,8 @@
+
+ #ifdef __FreeBSD__
+ #include <machine/soundcard.h>
++#elif __NetBSD__
++#include <soundcard.h>
+ #else
+ #include <sys/soundcard.h>
+ #endif