freebsd-ports/graphics/gplot/files/patch-drawcgm__cgm_clip.c
Martin Wilke 801fb2ec4c - Unbreak
- Fix build with gcc 4.2

PR:		113774
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-06-20 14:18:39 +00:00

20 lines
348 B
C

--- 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,