summaryrefslogtreecommitdiffstats
path: root/games/doom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/doom/Makefile')
-rw-r--r--games/doom/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/doom/Makefile b/games/doom/Makefile
index 46221ad..6137f0b 100644
--- a/games/doom/Makefile
+++ b/games/doom/Makefile
@@ -38,6 +38,9 @@ do-fetch:
post-extract:
@cd ${WRKDIR} && tar xzf linuxdoom-1.10.src.tgz && tar xzf sndserv.tgz
+post-patch:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
+
do-build:
@cd ${WRKDIR}/linuxdoom-1.10 && ${GMAKE}
@cd ${WRKDIR}/sndserv && ${GMAKE}
OpenPOWER on IntegriCloud