From owner-freebsd-current Thu Aug 31 3:36:52 2000 Delivered-To: freebsd-current@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 8B3BB37B443; Thu, 31 Aug 2000 03:36:45 -0700 (PDT) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 13URhz-0004jW-00; Thu, 31 Aug 2000 12:36:35 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id MAA09140; Thu, 31 Aug 2000 12:36:32 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 8885; Thu Aug 31 12:34:44 2000 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.16 #1) id 13URgC-0000ta-00; Thu, 31 Aug 2000 12:34:44 +0200 From: Sheldon Hearn To: Bruce Evans Cc: Poul-Henning Kamp , current@freebsd.org, obrien@freebsd.org Subject: Re: recent change to conf.h breaks xosview port In-reply-to: Your message of "Thu, 31 Aug 2000 15:36:59 +1100." Date: Thu, 31 Aug 2000 12:34:44 +0200 Message-ID: <3445.967718084@axl.fw.uunet.co.za> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 31 Aug 2000 15:36:59 +1100, Bruce Evans wrote: > Programs like fstat and lsof probably have a legitimate need for some > things in . This is a bug in . For now, a harmless work-around for most of these applications seems to be to include . The odds of namespace collisions are slim. For the particular case that raised this issue, namely xosview, a patch is supplied for the port maintainer, for addition to the port's ./patches/ directory. Ciao, Sheldon. --- bsd/swapinternal.cc.orig Wed Aug 30 19:12:38 2000 +++ bsd/swapinternal.cc Wed Aug 30 19:12:53 2000 @@ -64,6 +64,7 @@ // code has been removed. BCG FIXME SOMEDAY #include /* For things in sys/conf.h. */ +#include #include /* For struct swdevt. */ #ifdef XOSVIEW_FREEBSD # ifndef USE_KVM_GETSWAPINFO To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message