summaryrefslogtreecommitdiff
path: root/misc/window/files/patch-ttgeneric.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-22 17:40:50 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-22 17:40:50 +0000
commite3c468f04035ce339c44e23742399159a65be905 (patch)
tree86d567f3b04d32c210a71e6eb1f8c59d1d0dc32d /misc/window/files/patch-ttgeneric.c
parentcad/calculix : update to version 2.17.1 (diff)
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=549615
Diffstat (limited to 'misc/window/files/patch-ttgeneric.c')
-rw-r--r--misc/window/files/patch-ttgeneric.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/window/files/patch-ttgeneric.c b/misc/window/files/patch-ttgeneric.c
new file mode 100644
index 000000000000..f6d8e5183153
--- /dev/null
+++ b/misc/window/files/patch-ttgeneric.c
@@ -0,0 +1,16 @@
+--- ttgeneric.c.orig 2008-07-12 06:05:22 UTC
++++ ttgeneric.c
+@@ -43,6 +43,13 @@ static char rcsid[] =
+ #include "ww.h"
+ #include "tt.h"
+
++struct tt tt;
++char tt_strings[1024];
++char *tt_strp;
++char *tt_ob;
++char *tt_obp;
++char *tt_obe;
++
+ char PC, *BC, *UP;
+
+ /* normal frame */