Date: Thu, 21 Mar 2013 23:09:08 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: mexas@bristol.ac.uk Cc: kpaasial@gmail.com, roberthuff@rcn.com, freebsd-stable@freebsd.org, beat.siegenthaler@beatsnet.com, freebsd-current@freebsd.org Subject: Re: troubles with buildworld/sendmail/sasl/clang Message-ID: <7DFCA510-5230-4EB6-8199-199DE7F8DE67@FreeBSD.org> In-Reply-To: <201303211416.r2LEG8cG041216@mech-cluster241.men.bris.ac.uk> References: <201303211416.r2LEG8cG041216@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mar 21, 2013, at 15:16, Anton Shterenlikht <mexas@bristol.ac.uk> wrote: > Kimmo Paasiala writes: ... > > > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c:1864:8: > > > error: incompatible pointer types passing 'void ()' to parameter of type > > > 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)' > > > [-Werror,-Wincompatible-pointer-types] > > > getsasldata, NULL, XS_AUTH); > > > ^~~~~~~~~~~ ... > # cat /etc/make.conf > SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 > SENDMAIL_LDFLAGS+= -L/usr/local/lib > SENDMAIL_LDADD+= -lsasl2 Use the port, or the attached patch, to disable usage of stdbool.h. [-- Attachment #2 --] Index: contrib/sendmail/include/sm/gen.h =================================================================== --- contrib/sendmail/include/sm/gen.h (revision 248230) +++ contrib/sendmail/include/sm/gen.h (working copy) @@ -51,7 +51,7 @@ ** Define bool, true, false (from the C99 standard) */ -# if SM_CONF_STDBOOL_H +# if SM_CONF_STDBOOL_H && 0 # include <stdbool.h> # else /* SM_CONF_STDBOOL_H */ # ifndef __cplusplus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DFCA510-5230-4EB6-8199-199DE7F8DE67>
