init threads so this port has a chance to work.

maintainer ok.
This commit is contained in:
fgsch 2003-10-07 17:15:06 +00:00
parent 42b37d6636
commit d4aaf9fffe

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-xcopilot_c,v 1.1 2003/10/07 17:15:06 fgsch Exp $
--- xcopilot.c.orig 1998-08-25 01:53:31.000000000 -0300
+++ xcopilot.c 2003-10-06 14:58:33.000000000 -0300
@@ -112,6 +112,7 @@ int main(int argc, char *argv[])
XtGetApplicationResources(pilot.topWidget, &pilot, resources, XtNumber(ros),
NULL, 0);
+ pilot.threads = 0;
if (pilot.DoublePixels)
pilot.MagFactor = 2;