diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-30 19:49:54 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-30 19:49:54 +0000 |
commit | 9923485e48d0df23875233cca59463f175e75c14 (patch) | |
tree | 66619700ee92221bdc29b6e438183910ec1479de | |
parent | f6e4fb511b5fdca4dd1a7f2855fb4f567f2947ef (diff) | |
download | pkgsrc-9923485e48d0df23875233cca59463f175e75c14.tar.gz |
Added a patch for sunpro on Solaris.
-rw-r--r-- | net/mDNSResponder/distinfo | 3 | ||||
-rw-r--r-- | net/mDNSResponder/patches/patch-udns | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net/mDNSResponder/distinfo b/net/mDNSResponder/distinfo index 7f781c38b09..c85ad5ba8e6 100644 --- a/net/mDNSResponder/distinfo +++ b/net/mDNSResponder/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2007/03/10 00:59:28 rillig Exp $ +$NetBSD: distinfo,v 1.16 2007/05/30 19:49:54 rillig Exp $ SHA1 (mDNSResponder-108.tar.gz) = d51509077be75ec8ba49c805fef701c3370428fc RMD160 (mDNSResponder-108.tar.gz) = 3a1961f3267bcf009b52c8d8ce234ee6045aeed2 @@ -6,3 +6,4 @@ Size (mDNSResponder-108.tar.gz) = 1362840 bytes SHA1 (patch-aa) = 3e8dec4b8d28ed633818edcdea57881dcbb466dc SHA1 (patch-ab) = 4903e995df9e895bb1cfc49f7fa0c17c8a5379db SHA1 (patch-ac) = 0613bd07f6626e5c06a3584bef8f2372dfef319a +SHA1 (patch-udns) = 1e224d12593bdaea3019054e53de6693942b988e diff --git a/net/mDNSResponder/patches/patch-udns b/net/mDNSResponder/patches/patch-udns new file mode 100644 index 00000000000..4db0eab8380 --- /dev/null +++ b/net/mDNSResponder/patches/patch-udns @@ -0,0 +1,19 @@ +$NetBSD: patch-udns,v 1.1 2007/05/30 19:49:54 rillig Exp $ + +The sunpro compiler thinks that union{...} and const union{...} are +different data types and that they may not occur in the ?: operator. + +--- mDNSCore/uDNS.c.orig Mon Feb 20 22:40:36 2006 ++++ mDNSCore/uDNS.c Wed May 30 21:43:51 2007 +@@ -3622,8 +3622,9 @@ + result.zoneData.primaryAddr.type = mDNSAddrType_IPv4; + AssignDomainName(&result.zoneData.zoneName, &context->zone); + result.zoneData.zoneClass = context->zoneClass; +- result.zoneData.llqPort = context->findLLQPort ? context->llqPort : zeroIPPort; +- result.zoneData.updatePort = context->findUpdatePort ? context->updatePort : zeroIPPort; ++ mDNSIPPort zero = zeroIPPort; ++ result.zoneData.llqPort = context->findLLQPort ? context->llqPort : zero; ++ result.zoneData.updatePort = context->findUpdatePort ? context->updatePort : zero; + context->callback(mStatus_NoError, context->m, context->callbackInfo, &result); + goto cleanup; + |