$OpenBSD: patch-main_c,v 1.1 2003/08/24 22:15:56 naddy Exp $ --- main.c.orig 1993-01-12 19:59:36.000000000 +0100 +++ main.c 2003-08-24 23:21:50.000000000 +0200 @@ -23,7 +23,9 @@ Widget top_form; -void +extern AppData app_data; + +int main(argc, argv) int argc; char **argv; @@ -66,7 +68,7 @@ chk_debug(argc, argv) /* ugly hack */ for (i = 1; i < argc; i++) { if (strcmp(argv[i], "-debug") == 0) { - debug = True; + app_data.debug = True; break; } }