Re: System sendmail build fails with updated cyrus-sasl2 port

From: Hajimu UMEMOTO <ume_at_FreeBSD.org>
Date: Tue, 27 Sep 2011 01:23:32 +0900
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?



--
Hajimu UMEMOTO _at_ Internet Mutual Aid Society Yokohama, Japan
ume_at_mahoroba.org  ume_at_{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

_______________________________________________
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"
Received on Mon Sep 26 2011 - 14:25:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC