openbsd-ports/graphics/tgif/patches/patch-setup.c
simon 97390ac1fe update to version 4.1.45
from Martynas Venckus <martynas at altroot dot org>

ok bernd@, sturm@
2007-02-13 10:12:08 +00:00

12 lines
359 B
C

--- setup.c.orig Wed Jun 14 01:29:59 2006
+++ setup.c Sun Jan 21 12:08:33 2007
@@ -233,7 +233,7 @@ char drawPath[MAXPATHLENGTH]; /* last ch
char bootDir[MAXPATHLENGTH+2];
char homeDir[MAXPATHLENGTH];
char tgifDir[MAXPATHLENGTH];
-char tmpDir[MAXPATHLENGTH];
+char tmpDir[MAXPATHLENGTH] = "/tmp";
int symPathNumEntries = INVALID;
char * * symPath=NULL;