summaryrefslogtreecommitdiff
path: root/www/mozilla/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-10 21:09:07 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-10 21:09:07 +0000
commit20833d1aa0ad7ada36fec4eb06055f8bdb7b4051 (patch)
tree8c31bd459b87d07035d63aa6577a72807a0adfa5 /www/mozilla/Makefile
parentUpdate to 2.1.4. This fixes the memory leak exploited by fc-cache (diff)
s/<malloc.h>/<stdlib.h>/g
Reported by: scottl
Notes
Notes: svn path=/head/; revision=78714
Diffstat (limited to 'www/mozilla/Makefile')
-rw-r--r--www/mozilla/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 1dbd257cf310..3813ffe87675 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -189,6 +189,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%||g' \
${WRKSRC}/config/autoconf.mk.in
+ @${FIND} ${WRKSRC}/other-licenses/libical -name "*.c" | ${XARGS} \
+ ${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g'
post-build:
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%MOZILLA%%|${MOZILLA}|g" \