aboutsummaryrefslogtreecommitdiffstats
path: root/net/rsync
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-04-04 05:52:38 +0800
committerpat <pat@FreeBSD.org>2002-04-04 05:52:38 +0800
commitb13d5b5c3b4b2b6adb6906f7b676a3d41cfd29b2 (patch)
treec8c7b7b5f97da65002db7bc8bfacf7c1b32a798c /net/rsync
parent86efb4c1b294f644dae7deb8f1b5402db67ee110 (diff)
downloadfreebsd-ports-gnome-b13d5b5c3b4b2b6adb6906f7b676a3d41cfd29b2.tar.gz
freebsd-ports-gnome-b13d5b5c3b4b2b6adb6906f7b676a3d41cfd29b2.tar.zst
freebsd-ports-gnome-b13d5b5c3b4b2b6adb6906f7b676a3d41cfd29b2.zip
Remove #include <malloc.h>
PR: 36707 Submitted by: maintainer
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 930083f00ca8..b373b1feb482 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -42,6 +42,8 @@ MAN5= rsyncd.conf.5
pre-configure:
@${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' \
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
+ @${PERL} -pi.orig -e 's|malloc.h|stdlib.h|g' \
+ ${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
.if defined(WITH_SSH)
@${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
.endif