diff options
author | tron <tron@pkgsrc.org> | 2006-01-01 18:27:53 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-01-01 18:27:53 +0000 |
commit | 8c1106154c6b7cc3bdad721b009212cf33792e12 (patch) | |
tree | 90b45c6ee1aae2b14157fb2de0a88e560e762e5e /net/howl/patches | |
parent | 6596c8826a0632b3949905aed24d483e78ccb70c (diff) | |
download | pkgsrc-8c1106154c6b7cc3bdad721b009212cf33792e12.tar.gz |
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
Diffstat (limited to 'net/howl/patches')
-rw-r--r-- | net/howl/patches/patch-aa | 39 |
1 files changed, 11 insertions, 28 deletions
diff --git a/net/howl/patches/patch-aa b/net/howl/patches/patch-aa index 5764134d3ec..794ef1861ed 100644 --- a/net/howl/patches/patch-aa +++ b/net/howl/patches/patch-aa @@ -1,30 +1,13 @@ -$NetBSD: patch-aa,v 1.3 2005/01/08 06:24:41 schmonz Exp $ +$NetBSD: patch-aa,v 1.4 2006/01/01 18:27:53 tron Exp $ ---- src/lib/howl/socket.c.orig 2004-10-27 13:39:52.000000000 -0400 -+++ src/lib/howl/socket.c -@@ -261,7 +261,7 @@ sw_multicast_socket_super_init( - err = sw_translate_error(self->m_desc != SW_INVALID_SOCKET, sw_socket_errno()); - sw_check_okay_log(err, exit); - --#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__FreeBSD__) -+#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__FreeBSD__) || defined(__NetBSD__) - res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEPORT, (char*) &opt, sizeof(opt)); +--- 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*) &opt, sizeof(opt)); -@@ -375,6 +375,7 @@ sw_socket_join_multicast_group( - #endif - int res; - sw_result err; -+ sw_uchar mttl = (sw_uchar) ttl; - - /* - initialize the group membership -@@ -425,7 +426,7 @@ sw_socket_join_multicast_group( - err = sw_translate_error(res == 0, sw_socket_errno()); - sw_check_okay_log(err, exit); - -- res = setsockopt(self->m_desc, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &real_ttl, sizeof(real_ttl)); -+ res = setsockopt(self->m_desc, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &mttl, sizeof(mttl)); - err = sw_translate_error(res == 0, sw_socket_errno()); - sw_check_okay_log(err, exit); - + res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEADDR, (char*) &options->m_reuseaddr.m_val, sizeof(options->m_reuseaddr.m_val)); |