From owner-freebsd-current Tue Oct 24 15:40:58 2000 Delivered-To: freebsd-current@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 9646837B4D7; Tue, 24 Oct 2000 15:40:55 -0700 (PDT) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 381B064D; Tue, 24 Oct 2000 15:40:51 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id PAA09641; Tue, 24 Oct 2000 15:40:51 -0700 (PDT) Message-ID: <39F60FF2.E9F4B218@cup.hp.com> Date: Tue, 24 Oct 2000 18:40:50 -0400 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Gardella Cc: current@FreeBSD.ORG, jmz@FreeBSD.ORG Subject: Re: XFree86 3.3.6_3 build dies on -current References: <39F59863.803D40E9@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Patrick Gardella wrote: > > I built and installed -current on a laptop yesterday (10/23/00), and > went to build XFree86 3.3.6_3 today from the ports directory. > > It built fine, but when you run make install, it dies, complaining of > syntax errors in machine/endian.h: > > In file included from /usr/include/sys/wait.h:93, > from vgaHW.c:44: > /usr/include/machine/endian.h:72: syntax error before > `__uint16_swap_unit32' > /usr/include/machine/endian.h:72: syntax error before `__x' > XFree86 4.0.1 has the same problem. The following patch solves it for 4.0.1 (relative to .../xc/include): --- Xarch.h Sat Jun 17 11:40:56 2000 +++ /home/marcel/Xarch.h Tue Oct 24 15:15:58 2000 @@ -49,9 +49,7 @@ #endif #endif #elif defined(CSRG_BASED) -#if defined(__NetBSD__) || defined(__OpenBSD__) #include -#endif #include #elif defined(linux) #if defined __STRICT_ANSI__ I'm going to build 3.3.6 anyway, because 4.0.1 coredumps on my new notebook, so I'll try to make a patch as well. If someone can make a PR out of this thread, then we're all happy; especially jmz. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message