System sendmail build fails with updated cyrus-sasl2 port

Hajimu UMEMOTO ume at FreeBSD.org
Mon Sep 26 16:25:26 UTC 2011


Hi,

>>>>> On Mon, 26 Sep 2011 15:58:03 +0400
>>>>> Andrey Chernov <ache at FreeBSD.org> said:

ache> This is for 9 BETA2 or 10-CURRENT.
ache> Please fix it on either side. Apparently minor types mismatch within 
ache> sasl_callback_t type.

ache> cc -O2 -pipe -march=pentium4 
ache> -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
ache> -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB  
ache> -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
ache> -I/usr/local/include -DSASL=2 -std=gnu99 -fstack-protector 
ache> -Wsystem-headers -Werror -Wno-pointer-sign -c 
ache> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c
ache> cc1: warnings being treated as errors
ache> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c:112: warning: 
ache> initialization from incompatible pointer type
ache> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/main.c:113: warning: 
ache> initialization from incompatible pointer type
ache> *** Error code 1

It seems 2.1.25 requires to cast to sasl_callback_ft.  How about the
attached patch?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sendmail-sasl-2.1.25.diff
Type: text/x-patch
Size: 2562 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110926/573d201c/sendmail-sasl-2.1.25-0001.bin
-------------- next part --------------

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
-------------- next part --------------
_______________________________________________
freebsd-stable at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


More information about the freebsd-current mailing list