summaryrefslogtreecommitdiff
path: root/graphics/gplot/files/patch-gplot.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-gplot.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-gplot.c')
-rw-r--r--graphics/gplot/files/patch-gplot.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/gplot/files/patch-gplot.c b/graphics/gplot/files/patch-gplot.c
new file mode 100644
index 000000000000..fb1bd6e9774a
--- /dev/null
+++ b/graphics/gplot/files/patch-gplot.c
@@ -0,0 +1,11 @@
+--- gplot.c.orig Thu Oct 31 06:33:47 1991
++++ gplot.c Sat Jun 16 02:01:54 2007
+@@ -4,6 +4,8 @@
+ considered callable by other programs (inclusion of graphics with text)
+ */
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include "defs.h"
+ #define max_str 128
+ #define version_str "4.3b2"