head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.46 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.44 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.42 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.40 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.38 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.36 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.34 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.32 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.30 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.28 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.26 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.24 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.22 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.20 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.18 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.16 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.14 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.12 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.10 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.0.4 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.2 pkgsrc-2004Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2004.11.20.14.43.32; author mjl; state dead; branches; next 1.1; 1.1 date 2004.06.10.10.20.28; author lha; state Exp; branches; next ; desc @@ 1.2 log @Update howl to 0.9.7 - FIX: network interface index was not being initialized correctly on non-Linux platforms - FIX: sw_mdns_stub_init() was not initializing m_pending_ops - FIX: autoipd was not handling return code from fcntl correctly - FIX: portability patches from GNOME team - integration of patches necessary to build and run on Solaris - Separate Apple code into separate mDNSResponder library. - Add sw_discovery_query_record() to discovery API to query individual resource records - Support for discovery operations on specific network interfaces - Support for 64 bit Linux - FIX: client side memory leak when cancelling discovery operations - FIX: FreeBSD mDNSResponder didn't work with -a switch - FIX: mDNSResponder would occasionally crash when waking from sleep on Windows - FIX: mDNSResponder code for parsing config files had buffer overflow @ text @ $NetBSD: patch-ad,v 1.1 2004/06/10 10:20:28 lha Exp $ NetBSD needs SO_REUSEPORT not SO_REUSEADDR, should use "int" not "long" otherwise it wont work on big-endian machines. --- src/lib/howl/socket.c 2004-06-09 20:10:51.000000000 +0200 +++ src/lib/howl/socket.c.new 2004-06-09 20:10:59.000000000 +0200 @@@@ -242,7 +242,7 @@@@ sw_multicast_socket_super_init( sw_socket self) { - sw_ulong opt = 1; + int opt = 1; SW_TRY(sw_socket_init(self, SW_FALSE, &sw_socket_udp_connect, &sw_socket_udp_send, &sw_socket_udp_sendto, &sw_socket_udp_recv, &sw_socket_udp_recvfrom, &sw_socket_udp_close)); @@@@ -252,7 +252,7 @@@@ return SW_E_FAIL; } -#if defined(__APPLE__) || defined(__VXWORKS__) +#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__NetBSD__) if (setsockopt(self->m_fd, SOL_SOCKET, SO_REUSEPORT, (char*) &opt, sizeof(opt)) == -1) #else if (setsockopt(self->m_fd, SOL_SOCKET, SO_REUSEADDR, (char*) &opt, sizeof(opt)) == -1) @ 1.1 log @NetBSD needs SO_REUSEPORT, should use "int" not "long" otherwise it wont work on big-endian LP64 machines. @ text @d1 1 a1 1 $NetBSD$ @