1.5.8 build failure on Solaris 8
gcc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"
-DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\"
-DHAVE_CONFIG_H=1 -I. -I. -I. -I. -I. -I./imap -Iintl -I/usr/local/include
-I/usr/local/ssl/include -I/usr/local/include -I./intl -I/usr/local/include
-Wall -pedantic -g -O2 -c mutt_socket.c
mutt_socket.c: In function `mutt_socket_open':
mutt_socket.c:59: structure has no member named `open64'
mutt_socket.c:60: warning: control reaches end of non-void function
mutt_socket.c: In function `mutt_conn_find':
mutt_socket.c:282: structure has no member named `open64'
make[2]: *** [mutt_socket.o] Error 1
make[2]: Leaving directory `/home/lqh/src/mutt-1.5.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lqh/src/mutt-1.5.8'
make: *** [all] Error 2
Running mutt_socket.c through the preprocessor only changes
int mutt_socket_open (CONNECTION* conn)
{
if (socket_preconnect ())
return -1;
return conn->open (conn);
}
to
int mutt_socket_open (CONNECTION* conn)
{
if (socket_preconnect ())
return -1;
return conn-> open64 (conn);
}
Not sure how to fix this - rename the read/write/open/close members of
struct CONNECTION in mutt_socket.h?