From owner-freebsd-current Wed Jul 19 0:45:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id 8B4E537BDBF for ; Wed, 19 Jul 2000 00:45:07 -0700 (PDT) (envelope-from nnd@wint.itfs.nsk.su) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.9.3/8.9.3) id OAA00261; Wed, 19 Jul 2000 14:45:02 +0700 (NOVST) (envelope-from nnd) Date: Wed, 19 Jul 2000 14:45:02 +0700 (NOVST) Message-Id: <200007190745.OAA00261@wint.itfs.nsk.su> From: Nickolay Dudorov To: current@freebsd.org Subject: Re: cvs commit: src/sys/net ethernet.h X-Newsgroups: itfs.freebsd.current In-Reply-To: <200007190505.MAA01962@wint.itfs.nsk.su> User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG And (the last) one more patch to make 'buildworld' successfull: Index: usr.sbin/wlconfig/wlconfig.c =================================================================== RCS file: /store/CVS/src/usr.sbin/wlconfig/wlconfig.c,v retrieving revision 1.8 diff -b -u -r1.8 wlconfig.c --- usr.sbin/wlconfig/wlconfig.c 1999/08/28 01:20:39 1.8 +++ usr.sbin/wlconfig/wlconfig.c 2000/07/19 06:06:24 @@ -69,7 +69,6 @@ #include #include #include -extern struct ether_addr *ether_aton(char *a); #include #include In <200007190505.MAA01962@wint.itfs.nsk.su> Nickolay Dudorov wrote: > There is one more 'buildworld' problem - in > 'src/usr.sbin/ipsend'. The (analogous) patch correct it: > > Index: contrib/ipfilter/iplang/iplang_y.y > =================================================================== > RCS file: /store/CVS/src/contrib/ipfilter/iplang/iplang_y.y,v > retrieving revision 1.1.1.6 > diff -b -u -r1.1.1.6 iplang_y.y > --- contrib/ipfilter/iplang/iplang_y.y 2000/05/24 02:14:18 1.1.1.6 > +++ contrib/ipfilter/iplang/iplang_y.y 2000/07/19 04:59:38 > @@ -48,7 +48,7 @@ > #include "ipf.h" > #include "iplang.h" > > -#ifndef __NetBSD__ > +#if !defined(__NetBSD__) && ! defined(__FreeBSD__) > extern struct ether_addr *ether_aton __P((char *)); > #endif > >> In <200007182244.PAA33918@freefall.freebsd.org> Archie Cobbs wrote: >>> archie 2000/07/18 15:44:52 PDT >>> >>> Modified files: >>> sys/net ethernet.h >>> Log: >>> Const'ify parameters to ethers(3) routines as appropriate. >>> >>> Revision Changes Path >>> 1.16 +6 -6 src/sys/net/ethernet.h >> >> This breaks 'buildworld' in the 'lib/libpcap'. >> >> The next patch seems to correct the error. >> >> N.Dudorov >> >> Index: contrib/libpcap/nametoaddr.c >> =================================================================== >> RCS file: /store/CVS/src/contrib/libpcap/nametoaddr.c,v >> retrieving revision 1.6 >> diff -b -u -r1.6 nametoaddr.c >> --- contrib/libpcap/nametoaddr.c 2000/01/30 00:43:34 1.6 >> +++ contrib/libpcap/nametoaddr.c 2000/07/19 04:02:27 >> @@ -366,7 +366,7 @@ >> } >> #else >> >> -#if !defined(sgi) && !defined(__NetBSD__) >> +#if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__) >> extern int ether_hostton(char *, struct ether_addr *); >> #endif >> >> >> > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message