From owner-freebsd-ports Wed Apr 3 13:40:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 05B9B37B416 for ; Wed, 3 Apr 2002 13:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g33Le1n96546; Wed, 3 Apr 2002 13:40:01 -0800 (PST) (envelope-from gnats) Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27]) by hub.freebsd.org (Postfix) with ESMTP id 70F0D37B400 for ; Wed, 3 Apr 2002 13:30:22 -0800 (PST) Received: from nemesis.informatik.unibw-muenchen.de (nemesis.Informatik.UniBw-Muenchen.de [137.193.60.30]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id g33LBqj13654 for ; Wed, 3 Apr 2002 23:11:52 +0200 (MEST) Received: from localhost (localhost.informatik.unibw-muenchen.de [127.0.0.1]) by nemesis.informatik.unibw-muenchen.de (Postfix) with ESMTP id 200C55A547 for ; Wed, 3 Apr 2002 23:11:52 +0200 (CEST) Received: by nemesis.informatik.unibw-muenchen.de (Postfix, from userid 1001) id 17D075A545; Wed, 3 Apr 2002 23:11:51 +0200 (CEST) Message-Id: <20020403211151.17D075A545@nemesis.informatik.unibw-muenchen.de> Date: Wed, 3 Apr 2002 23:11:51 +0200 (CEST) From: Oliver Braun To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36707: [MAINTAINER UPDATE] net/rsync: avoid malloc.h warnings on -stable Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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