pkgsrc/net/howl/patches/patch-aa
tron 8c1106154c Update "howl" package to version 1.0.0. Changes since version 0.9.10:
- update to mDNSResponder core 58-8-1
- compile out heap debugging when NDEBUG macro is set during compilation
- errors encountered when parsing conf file are logged
- fix various unsafe sprintf calls (contributed by
  David Young dyoung@pobox.com)
- compiles cleanly using cygwin
- support for compiling under OpenBSD
- error in docs regarding swapped parameters to sw_discovery_publish_reply
2006-01-01 18:27:53 +00:00

13 lines
654 B
Text

$NetBSD: patch-aa,v 1.4 2006/01/01 18:27:53 tron Exp $
--- src/lib/howl/socket.c.orig 2005-05-19 03:02:57.000000000 +0100
+++ src/lib/howl/socket.c 2006-01-01 17:01:35.000000000 +0000
@@ -628,7 +628,7 @@
if (options->m_reuseaddr.m_modified)
{
-#if defined(__APPLE__) || defined(__VXWORKS__)
+#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__NetBSD__)
res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEPORT, (char*) &options->m_reuseaddr.m_val, sizeof(options->m_reuseaddr.m_val));
#else
res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEADDR, (char*) &options->m_reuseaddr.m_val, sizeof(options->m_reuseaddr.m_val));