diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 03:17:57 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 03:17:57 +0000 |
commit | de772a83738b3405737270bf01f8a3c6b6c9ab9d (patch) | |
tree | acb4e6bb8485266db657a0e9c484f3d2671a7555 /games/fgfs-base | |
parent | Remove #include <malloc.h> (diff) |
Remove #include <malloc.h>. Port build still broken.
Notes
Notes:
svn path=/head/; revision=57009
Diffstat (limited to 'games/fgfs-base')
-rw-r--r-- | games/fgfs-base/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/fgfs-base/Makefile b/games/fgfs-base/Makefile index a70555288268..896b636cf093 100644 --- a/games/fgfs-base/Makefile +++ b/games/fgfs-base/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 \ |