summaryrefslogtreecommitdiff
path: root/graphics/gplot/files/patch-gtex.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-gtex.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-gtex.c')
-rw-r--r--graphics/gplot/files/patch-gtex.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/gplot/files/patch-gtex.c b/graphics/gplot/files/patch-gtex.c
new file mode 100644
index 000000000000..ee59c662b101
--- /dev/null
+++ b/graphics/gplot/files/patch-gtex.c
@@ -0,0 +1,16 @@
+--- gtex.c.orig Thu Jul 18 02:22:03 1991
++++ gtex.c Sat Jun 16 01:11:02 2007
+@@ -4,10 +4,12 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <math.h>
++#include <stdlib.h>
++#include <string.h>
+ double atan(); /* not in some math.h */
+ #include "defs.h"
+ #define version_str "4.23"
+-char *allocate_mem(), *realloc();
++char *allocate_mem();
+
+ /* GPLOT style globals */
+ static struct info_struct dev_info;