pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mDNSResponder Added a patch for sunpro on Solaris.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9297dabb1c4b
branches: trunk
changeset: 529310:9297dabb1c4b
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed May 30 19:49:54 2007 +0000
description:
Added a patch for sunpro on Solaris.
diffstat:
net/mDNSResponder/distinfo | 3 ++-
net/mDNSResponder/patches/patch-udns | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r f8a65961557d -r 9297dabb1c4b net/mDNSResponder/distinfo
--- a/net/mDNSResponder/distinfo Wed May 30 19:11:05 2007 +0000
+++ b/net/mDNSResponder/distinfo Wed May 30 19:49:54 2007 +0000
@@ -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 @@
SHA1 (patch-aa) = 3e8dec4b8d28ed633818edcdea57881dcbb466dc
SHA1 (patch-ab) = 4903e995df9e895bb1cfc49f7fa0c17c8a5379db
SHA1 (patch-ac) = 0613bd07f6626e5c06a3584bef8f2372dfef319a
+SHA1 (patch-udns) = 1e224d12593bdaea3019054e53de6693942b988e
diff -r f8a65961557d -r 9297dabb1c4b net/mDNSResponder/patches/patch-udns
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mDNSResponder/patches/patch-udns Wed May 30 19:49:54 2007 +0000
@@ -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;
+
Home |
Main Index |
Thread Index |
Old Index