summaryrefslogtreecommitdiff
path: root/misc/window/files/patch-context.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-context.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-context.c')
-rw-r--r--misc/window/files/patch-context.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/window/files/patch-context.c b/misc/window/files/patch-context.c
new file mode 100644
index 000000000000..c91849c7883d
--- /dev/null
+++ b/misc/window/files/patch-context.c
@@ -0,0 +1,11 @@
+--- context.c.orig 2009-02-23 10:26:32 UTC
++++ context.c
+@@ -46,6 +46,8 @@ static char rcsid[] =
+ #include <fcntl.h>
+ #include <stdlib.h>
+
++struct context cx;
++
+ /*
+ * Context push/pop for nested command files.
+ */