aboutsummaryrefslogtreecommitdiffstats
path: root/games/flightgear-data
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/flightgear-data
parent4e0745a429742553847e68bfedbf8326de3fd2b4 (diff)
downloadfreebsd-ports-graphics-b6df2116ac070e5bddcf45ebf3e07e67ebf096c4.tar.gz
freebsd-ports-graphics-b6df2116ac070e5bddcf45ebf3e07e67ebf096c4.tar.zst
freebsd-ports-graphics-b6df2116ac070e5bddcf45ebf3e07e67ebf096c4.zip
Remove #include <malloc.h>. Port build still broken.
Diffstat (limited to 'games/flightgear-data')
-rw-r--r--games/flightgear-data/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/flightgear-data/Makefile b/games/flightgear-data/Makefile
index a7055528826..896b636cf09 100644
--- a/games/flightgear-data/Makefile
+++ b/games/flightgear-data/Makefile
@@ -54,6 +54,9 @@ pre-patch:
for i in ${ADDPATCHES} ; do \
${PATCH} -s < $${i}; \
done )
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/Lib/XGL/xglUtils.c \
+ ${WRKSRC}/Lib/zlib/zutil.h
post-configure:
@find ${WRKSRC} -type f | xargs ${PERL} -pi -e \