Fixed now. Please update ports tree and try again.

Best regards

On Mon, 27 Jul 2009, Jorge Medina wrote:
On Mon, Jul 27, 2009 at 4:46 PM, Jorge Medina<jo...@bsdchile.cl> wrote:
FYI
set -e; for i in src/util src/global src/dns src/tls src/xsasl
src/milter src/master  src/postfix src/fsstone src/smtpstone
src/sendmail src/error src/pickup src/cleanup src/smtpd src/local
src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce  src/pipe
src/showq src/postalias src/postcat src/postconf src/postdrop
src/postkick src/postlock src/postlog src/postmap src/postqueue
src/postsuper src/qmqpd src/spawn src/flush src/verify  src/virtual
src/proxymap src/anvil src/scache src/discard src/tlsmgr
src/postmulti; do  (set -e; echo "[$i]"; cd $i; make 'CC=cc -DHAS_PCRE
-I/usr/local/include -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
-DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include
-DSNAPSHOT' update MAKELEVEL=) || exit 1;  done
[src/util]
cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
-DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
 -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c alldig.c
cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
-DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
 -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c allprint.c
cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
-DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
 -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c argv.c
cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
-DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
 -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c argv_split.c
cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
-DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
 -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c attr_clnt.c
In file included from attr_clnt.c:77:
/usr/include/unistd.h:329: error: conflicting types for 'closefrom'
./sys_defs.h:1395: error: previous declaration of 'closefrom' was here
*** Error code 1


I change int closefrom(int) to void closefrom(int) like
/usr/include/unistd.h:329 in sys_defs.h and sys_defs.c and work ok

more information
r...@mail% uname -a
FreeBSD mail.jp.cl 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Jul 27
15:01:32 CLT 2009     mnot...@mail.jp.cl:/usr/obj/usr/src/sys/GENERIC
amd64

maybe the problem is in the line 329  of /usr/include/unistd.h
because had a type conflict with __void closefrom(int);__ after update
from source tree

--
Jorge Andrés Medina Oliva.
System Manager & BSD Software Advocacy Leader
From: http://www.bsdchile.cl
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


--
Marcus Alves Grando
marcus(at)sbh.eng.br | Personal
mnag(at)FreeBSD.org  | FreeBSD.org
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to