Date: 25 Jul 2004 22:19:46 -0000 From: Joe Kelsey <joe@zircon.seattle.wa.us> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69594: bincimap does not compile Message-ID: <20040725221946.41184.qmail@zircon.seattle.wa.us> Resent-Message-ID: <200407252220.i6PMK1Yd029712@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69594 >Category: ports >Synopsis: bincimap does not compile >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 25 22:20:00 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Joe Kelsey >Release: FreeBSD 4.10-STABLE i386 >Organization: Joseph M. Kelsey >Environment: System: FreeBSD zircon.zircon.seattle.wa.us 4.10-STABLE FreeBSD 4.10-STABLE #0: Thu Jul 1 13:57:33 PDT 2004 joe@zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON i386 >Description: Attempt to install bincimap and find out it does not compile. >How-To-Repeat: portinstall bincimap marvel at the errors due to missing #include <sys/types.h>. >Fix: The files io.cc and pendingupdate.cc include session.h before io.h. io.h has an include for <sys/types.h>, which session.h needs to resolve pid_t. Move io.h to before session.h. zircon# diff -u io.cc.orig io.cc --- io.cc.orig Sun Apr 4 01:22:49 2004 +++ io.cc Sun Jul 25 15:11:26 2004 @@ -37,8 +37,8 @@ #include <string> -#include "session.h" #include "io.h" +#include "session.h" using namespace ::std; zircon# diff -u pendingupdates.cc.orig pendingupdates.cc --- pendingupdates.cc.orig Thu Mar 4 13:15:18 2004 +++ pendingupdates.cc Sun Jul 25 15:11:33 2004 @@ -39,11 +39,11 @@ #include <config.h> #endif +#include "io.h" #include "session.h" #include "pendingupdates.h" #include "message.h" #include "mailbox.h" -#include "io.h" using namespace ::std; using namespace Binc; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040725221946.41184.qmail>