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!?
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 */
+ 

Reply via email to