summaryrefslogtreecommitdiff
path: root/graphics/gplot/files/patch-carray.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-20 14:18:39 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-20 14:18:39 +0000
commit801fb2ec4cee9afa8ff5f4eae9025c6d21aa2187 (patch)
tree6e2fe5284f2c541fa612394b1086614f42e27b1a /graphics/gplot/files/patch-carray.c
parent- Fix build with gcc 4.2 (diff)
- Unbreak
- Fix build with gcc 4.2 PR: 113774 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=193972
Diffstat (limited to 'graphics/gplot/files/patch-carray.c')
-rw-r--r--graphics/gplot/files/patch-carray.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/gplot/files/patch-carray.c b/graphics/gplot/files/patch-carray.c
new file mode 100644
index 000000000000..5296b688958d
--- /dev/null
+++ b/graphics/gplot/files/patch-carray.c
@@ -0,0 +1,14 @@
+--- carray.c.orig Fri Sep 13 02:57:13 1991
++++ carray.c Sat Jun 16 02:27:51 2007
+@@ -3,6 +3,11 @@
+ /* all rights reserved */
+ #include "defs.h"
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++
++static do_line();
++
+ /* a few globals */
+ #define byte_size 8
+ unsigned char *allocate_mem(); /* in utils.c */