From owner-freebsd-current Fri Oct 27 3:47: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id E367B37B4C5; Fri, 27 Oct 2000 03:46:59 -0700 (PDT) Received: from gorean.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id DAA34216; Fri, 27 Oct 2000 03:46:55 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <39F95D1F.E14E94B9@gorean.org> Date: Fri, 27 Oct 2000 03:46:55 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 5.0-CURRENT-102 i386) X-Accept-Language: en MIME-Version: 1.0 To: Harti Brandt Cc: pst@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: endian.h problem with gnats port References: Content-Type: multipart/mixed; boundary="------------91B873A3DFBD22B6CE7D7222" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------91B873A3DFBD22B6CE7D7222 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Harti Brandt wrote: > > On Fri, 27 Oct 2000, Doug Barton wrote: > > > I'm trying to compile gnats locally, and getting an ugly error > > regarding endian.h. Due to the recent include file shuffling I'm > > starting in -current rather than ports. > > > > cc -c -I. -I. -I./../include -O -ggdb -pipe -g -DHAVE_CONFIG_H > > queue-pr.c > > In file included from /usr/include/sys/wait.h:93, > > from queue-pr.c:23: > > now needs . > > That's documented. Many ports break also. Bah... I knew it was something like this and I just couldn't remember the voodoo. Attached patch gets the port built, and a quick pass through edit-pr and query-pr seem to DTRT. Thanks, Doug -- "The dead cannot be seduced." - Kai, "Lexx" Do YOU Yahoo!? --------------91B873A3DFBD22B6CE7D7222 Content-Type: text/plain; charset=us-ascii; name="gnats.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gnats.diff" Index: Makefile =================================================================== RCS file: /usr/ncvs/ports/databases/gnats/Makefile,v retrieving revision 1.32 diff -u -r1.32 Makefile --- Makefile 2000/10/08 10:19:23 1.32 +++ Makefile 2000/10/27 10:34:49 @@ -22,7 +22,6 @@ --with-release-based USE_GMAKE= yes -USE_BISON= yes MAN1= edit-pr.1 query-pr.1 send-pr.1 MAN7= gnats.7 MAN8= mkcat.8 rmcat.8 mkdist.8 queue-pr.8 file-pr.8 gen-index.8 Index: files/patch-ae =================================================================== RCS file: patch-ae diff -N patch-ae --- /dev/null Fri Oct 27 03:41:59 2000 +++ patch-ae Fri Oct 27 03:39:51 2000 @@ -0,0 +1,10 @@ +--- gnats/queue-pr.c.Dist Wed Nov 25 06:15:20 1998 ++++ gnats/queue-pr.c Fri Oct 27 03:37:29 2000 +@@ -20,6 +20,7 @@ + + #include "config.h" + ++#include + #include /* FIXME */ + #include /* FIXME: gets MAXBSIZE */ + --------------91B873A3DFBD22B6CE7D7222-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message