Re: Ports broken due to -current change (Re: Ports broken on ia64)

From: Bruce Evans <bde_at_zeta.org.au>
Date: Sun, 18 May 2003 20:38:24 +1000 (EST)
On Sun, 18 May 2003, Kris Kennaway wrote:

> On Fri, Mar 28, 2003 at 02:28:23PM -0800, Kris Kennaway wrote:
> > On Fri, Mar 28, 2003 at 10:28:07AM -0500, Mike Barcroft wrote:
> > > Kris Kennaway <kris_at_obsecurity.org> writes:
> > > > On Tue, Mar 18, 2003 at 09:31:48PM -0500, Mike Barcroft wrote:
> > > >
> > > > > > stat.h:
> > > > > >      $FreeBSD: src/sys/sys/stat.h,v 1.34 2003/03/14 16:09:48 mike Exp $
> > > > >
> > > > > I think I see the problem.  I'll try to get a fix committed by
> > > > > tonight.
> > > >
> > > > Still appears to be broken with r1.35:
> > >
> > > Ugh.  The next revision and associated changes fixes it (I actually
> > > tested it against osh).
> >
> > OK, I'll update again.  Thanks!
>
> I'm still seeing a problem here:
>
> http://bento.freebsd.org/errorlogs/i386-5-latest/gnu-finger-1.37.log
>
> In file included from os.c:24:
> /usr/include/sys/stat.h:168: sizeof applied to an incomplete type
> /usr/include/sys/stat.h:169: sizeof applied to an incomplete type
> /usr/include/sys/stat.h:168: warning: width of `((anonymous))' exceeds its type
> /usr/include/sys/stat.h:169: warning: width of `((anonymous))' exceeds its type

Untested fix:

%%%
Index: stat.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/stat.h,v
retrieving revision 1.36
diff -u -2 -r1.36 stat.h
--- stat.h	28 Mar 2003 15:27:30 -0000	1.36
+++ stat.h	18 May 2003 10:26:10 -0000
_at__at_ -101,5 +101,5 _at__at_
 #endif

-#ifndef __BSD_VISIBLE
+#if !__BSD_VISIBLE
 #include <sys/_timespec.h>
 #endif
%%%

"find /usr/include/ | grep _VISIBLE | egrep(ifdef|ifndef|defined)"
shows similar bugs in <math.h>.

Bruce
Received on Sun May 18 2003 - 01:38:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:08 UTC