From owner-freebsd-ports Wed Apr 3 3:32:21 2002 Delivered-To: freebsd-ports@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.6]) by hub.freebsd.org (Postfix) with ESMTP id 81F5137B419 for ; Wed, 3 Apr 2002 03:32:17 -0800 (PST) Received: from localhost (trevor@localhost) by blues.jpj.net (8.11.6/8.11.6) with ESMTP id g33BVpD02825; Wed, 3 Apr 2002 06:31:51 -0500 (EST) Date: Wed, 3 Apr 2002 06:31:51 -0500 (EST) From: Trevor Johnson To: Alexandr Listopad Cc: ports@FreeBSD.ORG Subject: Re: For MAINTAINER of net/rsync In-Reply-To: <20020402115622.GQ98309@zgia.zp.ua> Message-ID: <20020403063014.B799-100000@blues.jpj.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > I cvsup last ports tree and try to make rsync port > (ports/net/rsync/Makefile,v 1.64 2002/03/15). > make seems good, but I have too much warnings like this: > > /usr/include/malloc.h:2: warning: #warning "this file includes > which is deprecated, use instead" > cc -I. -I. -O -pipe -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/trees.c > -o zlib/trees.o > In file included from zlib/../rsync.h:118, > from zlib/zutil.h:16, > from zlib/deflate.h:16, > from zlib/trees.c:36: > /usr/include/malloc.h:2: warning: #warning "this file includes > which is deprecated, use instead" > In file included from zlib/../rsync.h:188, > from zlib/zutil.h:16, > from zlib/deflate.h:16, > from zlib/trees.c:36: > > I install rsync, but it always core dumps with sig 11. :-( > Please help me. This won't stop the core dumps, only the warnings. -- Trevor Johnson Date: Mon, 25 Feb 2002 04:57:24 -0500 (EST) From: Trevor Johnson To: obrien@freebsd.org Subject: patch for rsync port This should look familiar: /* $FreeBSD: src/include/malloc.h,v 1.5 2001/11/07 23:14:31 obrien Exp $ */ #if __STDC__ #error " has been replaced by " #else #include #endif The rsync sources still use the old header. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/rsync/Makefile,v retrieving revision 1.63 diff -u -r1.63 Makefile --- Makefile 21 Feb 2002 18:40:21 -0000 1.63 +++ Makefile 25 Feb 2002 09:42:13 -0000 @@ -40,6 +40,8 @@ MAN5= rsyncd.conf.5 pre-configure: + ${FIND} ${WRKSRC} -type f -exec ${PERL} -pi -e \ + "s:::g" {} \; @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' \ ${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5 .if defined(WITH_SSH) -- Trevor Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message