diff options
author | dholland <dholland@pkgsrc.org> | 2011-09-04 22:17:41 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-09-04 22:17:41 +0000 |
commit | 290be2190b218c6494aa2dd85f2d07305051430e (patch) | |
tree | 3534a9ab75316e60a6ed0ffdb4880c860f404337 /audio/xmmix/patches | |
parent | 044fd3539172414674ceceafe53bae32a630eff6 (diff) | |
download | pkgsrc-290be2190b218c6494aa2dd85f2d07305051430e.tar.gz |
void main
Diffstat (limited to 'audio/xmmix/patches')
-rw-r--r-- | audio/xmmix/patches/patch-bb | 15 |
1 files changed, 14 insertions, 1 deletions
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 */ |