From 62cbb0e5a4aad2de55d2c0d1ad521f59556c8482 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 4 Sep 2011 22:17:41 +0000 Subject: void main --- audio/xmix/patches/patch-ab | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'audio/xmix/patches') 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; -- cgit v1.2.3