summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/qrash/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11/qrash/Makefile b/x11/qrash/Makefile
index 58cbbd4..662ecfa 100644
--- a/x11/qrash/Makefile
+++ b/x11/qrash/Makefile
@@ -27,5 +27,7 @@ ALL_TARGET= qrash
post-patch:
@${PERL} -pi -e "s=PREFIX=${PREFIX}=g" ${WRKSRC}/resource.cc
@${PERL} -pi -e "s=/usr/X11=${PREFIX}=g" ${WRKSRC}/configure
+ ${FIND} ${WRKSRC} -type f -exec ${PERL} -pi -e \
+ "s:<malloc.h>:<stdlib.h>:g" {} \;
.include <bsd.port.mk>
OpenPOWER on IntegriCloud