Re: troubles with buildworld/sendmail/sasl/clang

看板FB_stable作者時間12年前 (2013/04/27 13:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/11 (看更多)
--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 <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+=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 <stdbool.h> # else /* SM_CONF_STDBOOL_H */ # ifndef __cplusplus --Apple-Mail=_EA33AD19-AED4-4FCC-A396-907B0E557429 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --Apple-Mail=_EA33AD19-AED4-4FCC-A396-907B0E557429--
文章代碼(AID): #1HUsCPh7 (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1HUsCPh7 (FB_stable)