From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 11:30:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 198E616A4CE for ; Wed, 28 Jul 2004 11:30:15 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0888B43D46 for ; Wed, 28 Jul 2004 11:30:15 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id CF9C75C8A8; Wed, 28 Jul 2004 04:30:14 -0700 (PDT) Date: Wed, 28 Jul 2004 13:30:14 +0200 From: Maxime Henrion To: Maxim Maximov Message-ID: <20040728113014.GV82302@elvis.mu.org> References: <41078B9E.2030603@mcsi.pp.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <41078B9E.2030603@mcsi.pp.ru> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org Subject: Re: build is broken after gcc import X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 11:30:15 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Maxim Maximov wrote: > Hi. > > buildworld fails after GCC import: > > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c: > In function `findsaddr': > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c:195: > error: label at end of compound statement > *** Error code 1 > 1 error This patch should solve this issue. Thanks, Maxime --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="traceroute.patch" Index: findsaddr-socket.c =================================================================== RCS file: /space2/ncvs/src/contrib/traceroute/findsaddr-socket.c,v retrieving revision 1.2 diff -u -p -r1.2 findsaddr-socket.c --- findsaddr-socket.c 30 Jul 2002 04:49:13 -0000 1.2 +++ findsaddr-socket.c 28 Jul 2004 11:27:53 -0000 @@ -190,8 +190,6 @@ findsaddr(register const struct sockaddr } break; - default: - /* empty */ } if (SALEN(sa) == 0) --mYCpIKhGyMATD0i+--