just encountered this while cross-compiling: socket.c: In function `avahi_open_socket_ipv6': socket.c:374: warning: unused parameter `no_reuse' socket.c: In function `avahi_open_unicast_socket_ipv6': socket.c:950: error: `IPV6_V6ONLY' undeclared (first use in this function) socket.c:950: error: (Each undeclared identifier is reported only once socket.c:950: error: for each function it appears in.) ... upstream added a new function which uses the IPV6_V6ONLY symbol, which isn't "defined-out" by the current patch.
Created attachment 131779 [details, diff] avahi-0.6.21-no-ipv6.patch Here's a reworked patch.
Oops, I commited the updated patch already some days ago. Thanks Tiziano!