This fixes an implicit declaration of malloc() which will cause
problems on 64-bit arch with MAXDSIZ > 4GB (i.e. amd64).
extace-1.9.9.log:color_win.c:341: warning: implicit declaration of function
`malloc'
ok? Cc'd to ports@ for educational purposes.
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/extace/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile 3 Feb 2008 20:18:09 -0000 1.5
+++ Makefile 14 Jul 2008 10:19:42 -0000
@@ -3,6 +3,7 @@
COMMENT= audio visualization plugin for the X-Window System
DISTNAME= extace-1.9.9
+PKGNAME= ${DISTNAME}p0
CATEGORIES= x11 audio
HOMEPAGE= http://extace.sourceforge.net/
Index: patches/patch-src_color_win_c
===================================================================
RCS file: patches/patch-src_color_win_c
diff -N patches/patch-src_color_win_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_color_win_c 14 Jul 2008 10:19:42 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- src/color_win.c.orig Mon Jul 14 11:14:44 2008
++++ src/color_win.c Mon Jul 14 11:16:51 2008
+@@ -25,6 +25,7 @@
+ #include <globals.h>
+ #include <gtk/gtk.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+
+