On Thu, May 07, 2009 at 03:09:17PM +0200, Simon Josefsson wrote: > We got a report about sockaddr_storage on Solaris 2.6: > > http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524 > > How about the patch below? > <snip>
I applied this patch and gave the result a whirl on the actual Solaris 2.6 system in question but it did not do what I expected it to do. It didn't expand sys_socket.h.in and the test failed because sockaddr_storage is then not defined. checking for struct sockaddr_storage... no if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I.. -I./.. -I../gllib -I./../gllib -g -O2 -MT test-sys_socket.o -MD -MP -MF ".deps/test-sys_socket.Tpo" -c -o test-sys_socket.o test-sys_socket.c; \ then mv -f ".deps/test-sys_socket.Tpo" ".deps/test-sys_socket.Po"; else rm -f ".deps/test-sys_socket.Tpo"; exit 1; fi test-sys_socket.c: In function 'main': test-sys_socket.c:33: error: storage size of 'x' isn't known make[3]: *** [test-sys_socket.o] Error 1 I've dumped config.log and the buildlog at http://jupiterrise.com/tmp -tgc