freebsd-ports/audio/xcdplayer/files/patch-main.c
Christian Weisgerber d6de6f8b70 * Bring us into the 64-bit world.
Obtained from:	NetBSD

* Use CDROM devices also available on 5.x.
2003-08-25 00:05:26 +00:00

25 lines
389 B
C

$FreeBSD$
--- main.c.orig Tue Jan 12 19:59:36 1993
+++ main.c Mon Aug 25 00:38:35 2003
@@ -23,7 +23,9 @@
Widget top_form;
-void
+extern AppData app_data;
+
+int
main(argc, argv)
int argc;
char **argv;
@@ -66,7 +68,7 @@
/* ugly hack */
for (i = 1; i < argc; i++) {
if (strcmp(argv[i], "-debug") == 0) {
- debug = True;
+ app_data.debug = True;
break;
}
}