1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

games/armagetronad: Update 0.2.8.3.4 -> 0.2.8.3.5

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2020-02-20 09:49:33 +00:00
parent 089a592dc8
commit dba808e66e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526560
3 changed files with 4 additions and 21 deletions

View File

@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= armagetronad
DISTVERSION= 0.2.8.3.4
DISTVERSION= 0.2.8.3.5
DISTVERSIONSUFFIX= .src
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/stable/${DISTVERSION}/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1563837617
SHA256 (armagetronad-0.2.8.3.4.src.tar.gz) = 446af57c614ed28b4aa1d5a0d818c9d67a621bf7832b9276c3029c0f5006fedd
SIZE (armagetronad-0.2.8.3.4.src.tar.gz) = 2217387
TIMESTAMP = 1582191189
SHA256 (armagetronad-0.2.8.3.5.src.tar.gz) = b4c993558c08806c40e3c7095437451ffe9bc3d3f8c0310e58c50a81153446fc
SIZE (armagetronad-0.2.8.3.5.src.tar.gz) = 2096771

View File

@ -1,16 +0,0 @@
This is a fix for a bug in how std::autoptr is handled.
clang complains:
gCycle.cpp:*:*: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true
[-Wundefined-bool-conversion]
--- src/tron/gCycle.cpp.orig 2011-09-11 10:41:47 UTC
+++ src/tron/gCycle.cpp
@@ -2712,7 +2712,7 @@ bool gCycle::Timestep(REAL currentTime){
gCycleChatBot & bot = gCycleChatBot::Get( this );
bot.Activate( currentTime );
}
- else if ( &(*chatBot_) )
+ else if ( chatBot_.get() )
{
chatBot_->nextChatAI_ = 0;
}