summaryrefslogtreecommitdiff
path: root/audio/xmix/patches
diff options
context:
space:
mode:
authordholland <dholland>2011-09-04 22:17:41 +0000
committerdholland <dholland>2011-09-04 22:17:41 +0000
commit62cbb0e5a4aad2de55d2c0d1ad521f59556c8482 (patch)
tree3534a9ab75316e60a6ed0ffdb4880c860f404337 /audio/xmix/patches
parent32360448135f465ca591c5814facaf0f5f800e8b (diff)
downloadpkgsrc-62cbb0e5a4aad2de55d2c0d1ad521f59556c8482.tar.gz
void main
Diffstat (limited to 'audio/xmix/patches')
-rw-r--r--audio/xmix/patches/patch-ab24
1 files changed, 18 insertions, 6 deletions
diff --git a/audio/xmix/patches/patch-ab b/audio/xmix/patches/patch-ab
index 9549fe031f5..801288fbc7f 100644
--- a/audio/xmix/patches/patch-ab
+++ b/audio/xmix/patches/patch-ab
@@ -1,9 +1,12 @@
-$NetBSD: patch-ab,v 1.4 1999/02/10 14:55:33 frueauf Exp $
+$NetBSD: patch-ab,v 1.5 2011/09/04 22:17:41 dholland Exp $
-diff -r -u ../../src/xmix-2.1/xmix.c ./xmix.c
---- ../../src/xmix-2.1/xmix.c Sun Jan 17 13:13:12 1999
-+++ ./xmix.c Sun Jan 17 13:16:12 1999
-@@ -77,7 +77,12 @@
+- support more OSes (is the first hunk actually correct?)
+- fix void main
+- remove debug printout
+
+--- xmix.c.orig 2011-09-04 22:12:45.000000000 +0000
++++ xmix.c
+@@ -77,7 +77,12 @@ to Rick! I'll call this version V2.1
#include "square_empty.bit"
#include "square_with_x.bit"
@@ -17,7 +20,16 @@ diff -r -u ../../src/xmix-2.1/xmix.c ./xmix.c
#define SOUND_FULL_SCALE 100.0
#define MAX_SOUND_VOL 95
-@@ -742,7 +747,7 @@
+@@ -450,7 +455,7 @@ static void set_supported(VolumeControl
+ }
+
+
+-void main (int argc, char **argv)
++int main (int argc, char **argv)
+ {
+ XtAppContext app_context;
+ int scroll_sep, longway;
+@@ -742,7 +747,7 @@ void main (int argc, char **argv)
mic.locked = 0;
reclvl.locked = 0;