Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  3 Apr 2002 23:11:51 +0200 (CEST)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36707: [MAINTAINER UPDATE] net/rsync: avoid malloc.h warnings on -stable
Message-ID:  <20020403211151.17D075A545@nemesis.informatik.unibw-muenchen.de>

next in thread | raw e-mail | index | archive | help

>Number:         36707
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] net/rsync: avoid malloc.h warnings on -stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 03 13:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 21 12:00:59 CET 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386


>Description:

on -stable rsync uses malloc.h which generates a lot of warnings. This
update avoids these warnings by using stdlib.h instead.

Regards,
         Olli

>How-To-Repeat:
>Fix:


diff -ruN rsync.old/Makefile rsync/Makefile
--- rsync.old/Makefile	Wed Apr  3 11:08:26 2002
+++ rsync/Makefile	Wed Apr  3 13:58:35 2002
@@ -42,6 +42,8 @@
 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

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403211151.17D075A545>