From owner-freebsd-current Fri Oct 27 6:24: 4 2000 Delivered-To: freebsd-current@freebsd.org Received: from quemadura.shockwave.org (adsl-63-199-168-250.dsl.snfc21.pacbell.net [63.199.168.250]) by hub.freebsd.org (Postfix) with ESMTP id C8DE237B479 for ; Fri, 27 Oct 2000 06:24:01 -0700 (PDT) Received: (from pst@localhost) by quemadura.shockwave.org (8.11.1/8.11.1/Debian 8.11.0-6) id e9RDNrH16139; Fri, 27 Oct 2000 06:23:53 -0700 Date: Fri, 27 Oct 2000 06:23:52 -0700 From: Paul Traina To: Doug Barton Cc: Harti Brandt , current@FreeBSD.ORG Subject: Re: endian.h problem with gnats port Message-ID: <20001027062351.A16128@pst.org> References: <39F95D1F.E14E94B9@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39F95D1F.E14E94B9@gorean.org>; from DougB@gorean.org on Fri, Oct 27, 2000 at 03:46:55AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Looks good to me. Sorry for the hassles. I'll make sure the upstream release gets an extra #include in GNATS v4. On Fri, Oct 27, 2000 at 03:46:55AM -0700, Doug Barton wrote: > 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!? > 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 */ > + To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message