From owner-svn-ports-head@FreeBSD.ORG Mon Dec 9 08:18:38 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FBDC465; Mon, 9 Dec 2013 08:18:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 319CE1FC3; Mon, 9 Dec 2013 08:18:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB98Ic4v095701; Mon, 9 Dec 2013 08:18:38 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB98Ic4i095700; Mon, 9 Dec 2013 08:18:38 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201312090818.rB98Ic4i095700@svn.freebsd.org> From: Ganael LAPLANCHE Date: Mon, 9 Dec 2013 08:18:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335954 - head/devel/raknet/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 08:18:38 -0000 Author: martymac Date: Mon Dec 9 08:18:37 2013 New Revision: 335954 URL: http://svnweb.freebsd.org/changeset/ports/335954 Log: Fix build with Gcc 4.7 PR: ports/184573, ports/182136 Submitted by: Christoph Moench-Tegeder Added: head/devel/raknet/files/patch-Source-DS_BinarySearchTree.h (contents, props changed) Added: head/devel/raknet/files/patch-Source-DS_BinarySearchTree.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/raknet/files/patch-Source-DS_BinarySearchTree.h Mon Dec 9 08:18:37 2013 (r335954) @@ -0,0 +1,66 @@ +--- Source/DS_BinarySearchTree.h.orig 2013-11-15 22:00:44.000000000 +0100 ++++ Source/DS_BinarySearchTree.h 2013-11-15 22:02:47.000000000 +0100 +@@ -166,12 +166,12 @@ + if ( current->left == 0 ) + left_height = 0; + else +- left_height = Height( current->left ); ++ left_height = this->Height( current->left ); + + if ( current->right == 0 ) + right_height = 0; + else +- right_height = Height( current->right ); ++ right_height = this->Height( current->right ); + + if ( right_height - left_height == 2 ) + { +@@ -199,7 +199,7 @@ + if ( current == this->root ) + break; + +- current = FindParent( *( current->item ) ); ++ current = this->FindParent( *( current->item ) ); + + } + } +@@ -226,7 +226,7 @@ + if ( A == 0 ) + return false; + +- return Height( A->right ) > Height( A->left ); ++ return this->Height( A->right ) > this->Height( A->left ); + } + + template +@@ -235,7 +235,7 @@ + if ( A == 0 ) + return false; + +- return Height( A->left ) > Height( A->right ); ++ return this->Height( A->left ) > this->Height( A->right ); + } + + template +@@ -272,8 +272,8 @@ + + */ + +- B = FindParent( *( C->item ) ); +- A = FindParent( *( B->item ) ); ++ B = this->FindParent( *( C->item ) ); ++ A = this->FindParent( *( B->item ) ); + D = C->right; + + if ( A ) +@@ -336,8 +336,8 @@ + + */ + +- B = FindParent( *( C->item ) ); +- A = FindParent( *( B->item ) ); ++ B = this->FindParent( *( C->item ) ); ++ A = this->FindParent( *( B->item ) ); + D = C->left; + + if ( A )