Date: Tue, 12 Nov 2024 11:44:37 GMT From: Ganael LAPLANCHE <martymac@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a416637c416b - main - games/blobby: Fix build on -CURRENT Message-ID: <202411121144.4ACBibVr002722@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by martymac: URL: https://cgit.FreeBSD.org/ports/commit/?id=a416637c416b94632ac647d82c5ce67afc8cdcad commit a416637c416b94632ac647d82c5ce67afc8cdcad Author: Ganael LAPLANCHE <martymac@FreeBSD.org> AuthorDate: 2024-11-12 11:39:35 +0000 Commit: Ganael LAPLANCHE <martymac@FreeBSD.org> CommitDate: 2024-11-12 11:39:35 +0000 games/blobby: Fix build on -CURRENT /wrkdirs/usr/ports/games/blobby/work/blobbyvolley2-1.1.1/src/./raknet/LinkedList.h:507:12: error: no member named 'last' in 'CircularLinkedList<CircularLinkedListType>' /wrkdirs/usr/ports/games/blobby/work/blobbyvolley2-1.1.1/src/./raknet/LinkedList.h:524:43: error: no member named 'last' in 'CircularLinkedList<CircularLinkedListType>' /wrkdirs/usr/ports/games/blobby/work/blobbyvolley2-1.1.1/src/./raknet/LinkedList.h:527:14: error: no member named 'last' in 'CircularLinkedList<CircularLinkedListType>' /wrkdirs/usr/ports/games/blobby/work/blobbyvolley2-1.1.1/src/./raknet/LinkedList.h:592:13: error: no member named 'last' in 'CircularLinkedList<CircularLinkedListType>' /wrkdirs/usr/ports/games/blobby/work/blobbyvolley2-1.1.1/src/./raknet/LinkedList.h:609:44: error: no member named 'last' in 'CircularLinkedList<CircularLinkedListType>' /wrkdirs/usr/ports/games/blobby/work/blobbyvolley2-1.1.1/src/./raknet/LinkedList.h:612:15: error: no member named 'last' in 'CircularLinkedList<CircularLinkedListType>' --- games/blobby/files/patch-src-raknet-LinkedList.h | 62 ++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/games/blobby/files/patch-src-raknet-LinkedList.h b/games/blobby/files/patch-src-raknet-LinkedList.h new file mode 100644 index 000000000000..5336662347da --- /dev/null +++ b/games/blobby/files/patch-src-raknet-LinkedList.h @@ -0,0 +1,62 @@ +--- src/raknet/LinkedList.h.orig 2024-11-12 08:04:07 UTC ++++ src/raknet/LinkedList.h +@@ -463,6 +463,7 @@ namespace BasicDataStructures + CircularLinkedList<CircularLinkedListType>::CircularLinkedList( const CircularLinkedList& original_copy ) + { + node * original_copy_pointer; ++ node *last; + node *save_position; + + if ( original_copy.list_size == 0 ) +@@ -504,7 +505,7 @@ namespace BasicDataStructures + + + // Save the current element +- this->last = this->position; ++ last = this->position; + + // Point to the next node in the source list + original_copy_pointer = original_copy_pointer->next; +@@ -521,10 +522,10 @@ namespace BasicDataStructures + save_position = position; + + // Set the previous pointer for the new node +- ( this->position->previous ) = this->last; ++ ( this->position->previous ) = last; + + // Set the next pointer for the old node to the new node +- ( this->last->next ) = this->position; ++ ( last->next ) = this->position; + + } + +@@ -545,6 +546,7 @@ namespace BasicDataStructures + bool CircularLinkedList<CircularLinkedListType>::operator= ( const CircularLinkedList& original_copy ) + { + node * original_copy_pointer; ++ node *last; + node *save_position; + + if ( ( &original_copy ) != this ) +@@ -589,7 +591,7 @@ namespace BasicDataStructures + do + { + // Save the current element +- this->last = this->position; ++ last = this->position; + + // Point to the next node in the source list + original_copy_pointer = original_copy_pointer->next; +@@ -606,10 +608,10 @@ namespace BasicDataStructures + save_position = this->position; + + // Set the previous pointer for the new node +- ( this->position->previous ) = this->last; ++ ( this->position->previous ) = last; + + // Set the next pointer for the old node to the new node +- ( this->last->next ) = this->position; ++ ( last->next ) = this->position; + + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411121144.4ACBibVr002722>