Date: Fri, 27 Oct 2000 03:46:55 -0700 From: Doug Barton <DougB@gorean.org> To: Harti Brandt <brandt@fokus.gmd.de> Cc: pst@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: endian.h problem with gnats port Message-ID: <39F95D1F.E14E94B9@gorean.org> References: <Pine.BSF.4.21.0010271223260.301-100000@beagle.fokus.gmd.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > > <sys/wait.h> now needs <sys/types.h>. > > 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 <sys/types.h> + #include <sys/wait.h> /* FIXME */ + #include <sys/param.h> /* FIXME: gets MAXBSIZE */ + --------------91B873A3DFBD22B6CE7D7222-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F95D1F.E14E94B9>