summaryrefslogtreecommitdiff
path: root/www/mozilla-devel
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-devel
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-devel')
-rw-r--r--www/mozilla-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 93bb8d9e2905..e801dafc5525 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -186,6 +186,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%|-devel|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" \