summaryrefslogtreecommitdiff
path: root/games/blobby2/blobby2-gcc47.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-09-12 19:55:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-12 14:19:24 -0500
commitf32d7f9e74fa07435c90ffc027b29712735ac27f (patch)
tree6a28014c79029a77e9cbe9cf73e98fc6574459f8 /games/blobby2/blobby2-gcc47.patch
parentd6d80624818587c213fded920731af9c1bf6561d (diff)
downloadslackbuilds-f32d7f9e74fa07435c90ffc027b29712735ac27f.tar.gz
games/blobby2: Updated for version 1.0rc1.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'games/blobby2/blobby2-gcc47.patch')
-rw-r--r--games/blobby2/blobby2-gcc47.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/games/blobby2/blobby2-gcc47.patch b/games/blobby2/blobby2-gcc47.patch
new file mode 100644
index 0000000000..7fbed48d96
--- /dev/null
+++ b/games/blobby2/blobby2-gcc47.patch
@@ -0,0 +1,66 @@
+--- trunk/src/raknet/BinarySearchTree.h 2012/08/18 23:13:49 954
++++ trunk/src/raknet/BinarySearchTree.h 2012/08/18 23:21:00 955
+@@ -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 )