Subject: Re: i386->vax build fails
To: Havard Eidnes <he@NetBSD.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: current-users
Date: 07/04/2006 01:47:10
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Jul 04, 2006 at 09:46:55AM +0200, Havard Eidnes wrote:
> The attached patch fixes the build problem, at least for me.  I'm
> waiting for reply from the portmaster before committing, and
> apparently he's on vacation (no reply so far).

> Index: macros.h

I suppose that works too...  I've attached my patch.

this of course leads to the question why these macros in macros.h are
necessary in the first place; wouldn't there be more benefit in revising
gcc's inline builtins?

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
              "silly brewer, saaz are for pils!"  --  virt

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="diff.out"

Index: sys/sys/systm.h
===================================================================
RCS file: /cvsroot/src/sys/sys/systm.h,v
retrieving revision 1.187
diff -u -r1.187 systm.h
--- sys/sys/systm.h	7 Jun 2006 22:34:18 -0000	1.187
+++ sys/sys/systm.h	4 Jul 2006 08:11:16 -0000
@@ -74,6 +74,7 @@
 #endif
 
 #include <machine/endian.h>
+#include <machine/macros.h>
 
 #ifdef _KERNEL
 #include <sys/types.h>

--3V7upXqbjpZ4EhLz--