From 801fb2ec4cee9afa8ff5f4eae9025c6d21aa2187 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 20 Jun 2007 14:18:39 +0000 Subject: - Unbreak - Fix build with gcc 4.2 PR: 113774 Submitted by: KATO Tsuguru --- graphics/gplot/files/patch-gtex.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 graphics/gplot/files/patch-gtex.c (limited to 'graphics/gplot/files/patch-gtex.c') 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 + #include + #include ++#include ++#include + 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; -- cgit v1.2.3