summaryrefslogtreecommitdiff
path: root/audio/wmmixer
diff options
context:
space:
mode:
authortron <tron>2003-09-28 14:52:55 +0000
committertron <tron>2003-09-28 14:52:55 +0000
commitee778c9d30cd78cd9d387d66a18399a57c83267f (patch)
treefe42e33c3cb3122ba4bccecfad4e45b0ad68c22f /audio/wmmixer
parent25a799310ca9617b1eeb3d93951afd62f2e73727 (diff)
downloadpkgsrc-ee778c9d30cd78cd9d387d66a18399a57c83267f.tar.gz
Fix GCC 3.3.1 related build problem.
Diffstat (limited to 'audio/wmmixer')
-rw-r--r--audio/wmmixer/distinfo4
-rw-r--r--audio/wmmixer/patches/patch-aa13
-rw-r--r--audio/wmmixer/patches/patch-ab11
3 files changed, 27 insertions, 1 deletions
diff --git a/audio/wmmixer/distinfo b/audio/wmmixer/distinfo
index ee84fb3cb8e..ae4f45d55dc 100644
--- a/audio/wmmixer/distinfo
+++ b/audio/wmmixer/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.3 2002/05/22 18:29:17 wiz Exp $
+$NetBSD: distinfo,v 1.4 2003/09/28 14:52:55 tron Exp $
SHA1 (wmmixer-1.0-beta1.tgz) = b8695455e1a7364aa337feb924f059db9a5856fe
Size (wmmixer-1.0-beta1.tgz) = 18801 bytes
+SHA1 (patch-aa) = 4ee2ac096da6ee07a5e917242a6066c842dfa4d4
+SHA1 (patch-ab) = 7fd4f67cd2bf121fd33d6cbefc1067172644da14
diff --git a/audio/wmmixer/patches/patch-aa b/audio/wmmixer/patches/patch-aa
new file mode 100644
index 00000000000..921c05e1705
--- /dev/null
+++ b/audio/wmmixer/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2003/09/28 14:52:55 tron Exp $
+
+--- wmmixer.cc.orig 1998-09-05 17:11:33.000000000 +0200
++++ wmmixer.cc 2003-09-28 16:45:37.000000000 +0200
+@@ -503,7 +503,7 @@
+ }
+ }
+
+-void checkVol(bool forced=true){
++void checkVol(bool forced){
+ mixctl->readVol(channel[curchannel], true);
+ int nl=mixctl->readLeft(channel[curchannel]);
+ int nr=mixctl->readRight(channel[curchannel]);
diff --git a/audio/wmmixer/patches/patch-ab b/audio/wmmixer/patches/patch-ab
new file mode 100644
index 00000000000..68e5d0f5dfe
--- /dev/null
+++ b/audio/wmmixer/patches/patch-ab
@@ -0,0 +1,11 @@
+--- Imakefile.orig 1998-09-05 17:11:33.000000000 +0200
++++ Imakefile 2003-09-28 16:50:51.000000000 +0200
+@@ -7,7 +7,4 @@
+ DEPLIBS = $(DEPXLIB)
+ LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) $(OSSAUDIO)
+
+-SRCS = wmmixer.cc
+-OBJS = wmmixer.o
+-
+-ComplexProgramTarget(wmmixer)
++SimpleCplusplusProgramTarget(wmmixer)