summaryrefslogtreecommitdiff
path: root/graphics/gplot/files/patch-drawcgm__cgm_clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gplot/files/patch-drawcgm__cgm_clip.c')
-rw-r--r--graphics/gplot/files/patch-drawcgm__cgm_clip.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gplot/files/patch-drawcgm__cgm_clip.c b/graphics/gplot/files/patch-drawcgm__cgm_clip.c
new file mode 100644
index 000000000000..0d663c32de6b
--- /dev/null
+++ b/graphics/gplot/files/patch-drawcgm__cgm_clip.c
@@ -0,0 +1,20 @@
+--- drawcgm/cgm_clip.c.orig Fri Mar 20 03:28:47 1992
++++ drawcgm/cgm_clip.c Sat Jun 16 02:08:24 2007
+@@ -13,6 +13,8 @@
+ #endif
+ #if (!VMS)
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #endif
+
+ #include "cgm_clip.h"
+@@ -85,8 +87,6 @@
+ successful.
+ */
+ {
+- char *malloc();
+-
+ if (nx>ixbuf_sz)
+ {
+ if (debug) fprintf(stderr,