aboutsummaryrefslogtreecommitdiffstats
path: root/games/gracer
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 11:17:57 +0800
committerkris <kris@FreeBSD.org>2002-03-31 11:17:57 +0800
commitb6df2116ac070e5bddcf45ebf3e07e67ebf096c4 (patch)
treee12ac92d9ee36a84cee801521c879b03508d13e1 /games/gracer
parent4e0745a429742553847e68bfedbf8326de3fd2b4 (diff)
downloadfreebsd-ports-gnome-b6df2116ac070e5bddcf45ebf3e07e67ebf096c4.tar.gz
freebsd-ports-gnome-b6df2116ac070e5bddcf45ebf3e07e67ebf096c4.tar.zst
freebsd-ports-gnome-b6df2116ac070e5bddcf45ebf3e07e67ebf096c4.zip
Remove #include <malloc.h>. Port build still broken.
Diffstat (limited to 'games/gracer')
-rw-r--r--games/gracer/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/gracer/Makefile b/games/gracer/Makefile
index bec53b2b82d9..024a11c84d98 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -30,4 +30,8 @@ USE_GMAKE= yes
USE_NEWGCC= yes
CONFIGURE_ARGS+= --with-plib=${X11BASE}
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/common/gr_memory.h
+
.include <bsd.port.mk>