summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--accessibility/gok/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/accessibility/gok/Makefile b/accessibility/gok/Makefile
index cdef9948b..488967ad8 100644
--- a/accessibility/gok/Makefile
+++ b/accessibility/gok/Makefile
@@ -26,5 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
+ ${WRKSRC}/gok/word-complete.c
.include <bsd.port.mk>