Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 02:14:39 +0000 (UTC)
From:      Jason Unovitch <junovitch@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436315 - head/dns/nsd/files
Message-ID:  <201703170214.v2H2EdNo069367@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: junovitch
Date: Fri Mar 17 02:14:39 2017
New Revision: 436315
URL: https://svnweb.freebsd.org/changeset/ports/436315

Log:
  dns/nsd: Fix missing _t to _type conversion for disable-radix-tree option
  
  - Noting NSD changelog, recent update renamed _t typedefs because POSIX
    reserves them. The 4.1.15 update missed a few conversion.
  - Unbreak RADIXTREE. No PORTREVISION change as port would not have built.
  
  PR:		217640
  Reported by:	Max Kostikov <max@kostikov.co>
  Submitted by:	w.schwarzenfeld@utanet.at (the suggested diff)
  		jaap@NLnetLabs.nl (maintainer - the port patch)
  Obtained from:	nsd svn r4741

Added:
  head/dns/nsd/files/patch-query.c   (contents, props changed)

Added: head/dns/nsd/files/patch-query.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/nsd/files/patch-query.c	Fri Mar 17 02:14:39 2017	(r436315)
@@ -0,0 +1,20 @@
+--- query.c.orig	2017-03-09 14:53:32 UTC
++++ query.c
+@@ -664,7 +664,7 @@ add_additional_rrsets(struct query *quer
+ 			temp->rnode = NULL;
+ 			temp->dname = additional->dname;
+ #else
+-			memcpy(&temp->node, &additional->node, sizeof(rbnode_t));
++			memcpy(&temp->node, &additional->node, sizeof(rbnode_type));
+ 			temp->node.parent = NULL;
+ #endif
+ 			temp->number = additional->number;
+@@ -1113,7 +1113,7 @@ answer_authoritative(struct nsd   *nsd,
+ 		match->rnode = NULL;
+ 		match->dname = wildcard_child->dname;
+ #else
+-		memcpy(&match->node, &wildcard_child->node, sizeof(rbnode_t));
++		memcpy(&match->node, &wildcard_child->node, sizeof(rbnode_type));
+ 		match->node.parent = NULL;
+ #endif
+ 		match->parent = closest_encloser;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703170214.v2H2EdNo069367>