diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2013-03-29 10:22:43 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2013-03-29 10:22:43 +0000 |
commit | 77af481c8954cdd7d15f09c786fbf7fe3fdb3f5e (patch) | |
tree | fe6cd7d39c4f21580e793d7a74277daf5f4fb413 /games/blobby/files | |
parent | 1f05ffe74cb6cc0a2ee922ab3c781ca0a0120a87 (diff) | |
download | ports-77af481c8954cdd7d15f09c786fbf7fe3fdb3f5e.tar.gz ports-77af481c8954cdd7d15f09c786fbf7fe3fdb3f5e.zip |
Notes
Diffstat (limited to 'games/blobby/files')
-rw-r--r-- | games/blobby/files/patch-src-raknet-BinarySearchTree.h | 66 | ||||
-rw-r--r-- | games/blobby/files/patch-src-raknet-RakPeer.cpp | 10 |
2 files changed, 10 insertions, 66 deletions
diff --git a/games/blobby/files/patch-src-raknet-BinarySearchTree.h b/games/blobby/files/patch-src-raknet-BinarySearchTree.h deleted file mode 100644 index 13cbb9fdb6cd..000000000000 --- a/games/blobby/files/patch-src-raknet-BinarySearchTree.h +++ /dev/null @@ -1,66 +0,0 @@ ---- src/raknet/BinarySearchTree.h.orig 2011-11-10 19:09:02.760002087 +0100 -+++ src/raknet/BinarySearchTree.h 2011-11-10 19:16:43.285213671 +0100 -@@ -338,12 +338,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 ) - { -@@ -371,7 +371,7 @@ - if ( current == this->root ) - break; - -- current = find_parent( *( current->item ) ); -+ current = this->find_parent( *( current->item ) ); - - } - } -@@ -400,7 +400,7 @@ - if ( A == 0 ) - return false; - -- return height( A->right ) > height( A->left ); -+ return this->height( A->right ) > this->height( A->left ); - } - - template <class BinarySearchTreeType> -@@ -409,7 +409,7 @@ - if ( A == 0 ) - return false; - -- return height( A->left ) > height( A->right ); -+ return this->height( A->left ) > this->height( A->right ); - } - - template <class BinarySearchTreeType> -@@ -446,8 +446,8 @@ - - */ - -- B = find_parent( *( C->item ) ); -- A = find_parent( *( B->item ) ); -+ B = this->find_parent( *( C->item ) ); -+ A = this->find_parent( *( B->item ) ); - D = C->right; - - if ( A ) -@@ -510,8 +510,8 @@ - - */ - -- B = find_parent( *( C->item ) ); -- A = find_parent( *( B->item ) ); -+ B = this->find_parent( *( C->item ) ); -+ A = this->find_parent( *( B->item ) ); - D = C->left; - - if ( A ) diff --git a/games/blobby/files/patch-src-raknet-RakPeer.cpp b/games/blobby/files/patch-src-raknet-RakPeer.cpp new file mode 100644 index 000000000000..c51acb4009e1 --- /dev/null +++ b/games/blobby/files/patch-src-raknet-RakPeer.cpp @@ -0,0 +1,10 @@ +--- src/raknet/RakPeer.cpp.orig 2013-03-28 17:46:00.000000000 +0100 ++++ src/raknet/RakPeer.cpp 2013-03-28 17:55:11.000000000 +0100 +@@ -1060,7 +1060,6 @@ + + for ( ; index < banList.size(); index++ ) + { +- delete [] banList[ index ]->IP; + delete [] banList[ index ]; + } + |