$NetBSD: patch-aj,v 1.3 1999/09/06 16:37:43 tron Exp $

--- main.c.orig	Tue Jan 12 19:59:36 1993
+++ main.c	Mon Sep  6 18:37:05 1999
@@ -23,6 +23,8 @@
 
 Widget		top_form;
 
+extern AppData app_data;
+
 void
 main(argc, argv)
 	int		argc;
@@ -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;
 		}
 	}
