From 290be2190b218c6494aa2dd85f2d07305051430e Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 4 Sep 2011 22:17:41 +0000 Subject: void main --- audio/xmmix/patches/patch-bb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'audio/xmmix/patches') diff --git a/audio/xmmix/patches/patch-bb b/audio/xmmix/patches/patch-bb index 596d391ae6b..666187795a7 100644 --- a/audio/xmmix/patches/patch-bb +++ b/audio/xmmix/patches/patch-bb @@ -1,4 +1,8 @@ -$NetBSD: patch-bb,v 1.2 2005/12/11 20:35:41 joerg Exp $ +$NetBSD: patch-bb,v 1.3 2011/09/04 22:25:36 dholland Exp $ + +- initialize errfp (but why twice?) +- fix void main +- pass the XtAppContext to widget.c, which now needs it --- main.c.orig 1996-11-07 16:01:43.000000000 +0000 +++ main.c @@ -11,6 +15,15 @@ $NetBSD: patch-bb,v 1.2 2005/12/11 20:35:41 joerg Exp $ /*********************** +@@ -95,7 +95,7 @@ usage(int argc, char **argv) + * main + * The main function + */ +-void ++int + main(int argc, char **argv) + { + XtAppContext app; @@ -103,6 +103,7 @@ main(int argc, char **argv) /* Initialize variables */ -- cgit v1.2.3