From owner-freebsd-stable@FreeBSD.ORG Thu Mar 21 22:09:15 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 87FD6C7D; Thu, 21 Mar 2013 22:09:15 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 49345E27; Thu, 21 Mar 2013 22:09:15 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::e55c:d560:d108:32ea] (unknown [IPv6:2001:7b8:3a7:0:e55c:d560:d108:32ea]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C03D65C5B; Thu, 21 Mar 2013 23:09:06 +0100 (CET) Content-Type: multipart/mixed; boundary="Apple-Mail=_EA33AD19-AED4-4FCC-A396-907B0E557429" Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: troubles with buildworld/sendmail/sasl/clang From: Dimitry Andric In-Reply-To: <201303211416.r2LEG8cG041216@mech-cluster241.men.bris.ac.uk> Date: Thu, 21 Mar 2013 23:09:08 +0100 Message-Id: <7DFCA510-5230-4EB6-8199-199DE7F8DE67@FreeBSD.org> References: <201303211416.r2LEG8cG041216@mech-cluster241.men.bris.ac.uk> To: mexas@bristol.ac.uk X-Mailer: Apple Mail (2.1503) Cc: kpaasial@gmail.com, roberthuff@rcn.com, freebsd-stable@freebsd.org, beat.siegenthaler@beatsnet.com, freebsd-current@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 22:09:15 -0000 --Apple-Mail=_EA33AD19-AED4-4FCC-A396-907B0E557429 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Mar 21, 2013, at 15:16, Anton Shterenlikht = 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+=3D -I/usr/local/include -DSASL=3D2 > SENDMAIL_LDFLAGS+=3D -L/usr/local/lib > SENDMAIL_LDADD+=3D -lsasl2 Use the port, or the attached patch, to disable usage of stdbool.h. --Apple-Mail=_EA33AD19-AED4-4FCC-A396-907B0E557429 Content-Disposition: attachment; filename=sendmail-disable-stdbool-1.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="sendmail-disable-stdbool-1.diff" Content-Transfer-Encoding: 7bit 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 # else /* SM_CONF_STDBOOL_H */ # ifndef __cplusplus --Apple-Mail=_EA33AD19-AED4-4FCC-A396-907B0E557429--