File vegastrike-src-0.5.1.r1-gcc47_compat.patch of Package vegastrike
Index: src/resizable.h
===================================================================
--- src/resizable.h (revision 13362)
+++ src/resizable.h (working copy)
@@ -1,4 +1,5 @@
#include <cstdlib>
+#include <string.h>
template < class ITEM >
class Resizable
{
Index: src/cmd/unit_jump.h
===================================================================
--- src/cmd/unit_jump.h (revision 13362)
+++ src/cmd/unit_jump.h (working copy)
@@ -108,7 +108,7 @@
(tester = *i) != NULL; ++i)
if (tester->isUnit() == UNITPTR && tester != this)
if ( ( this->LocalPosition()-tester->LocalPosition() ).Magnitude() < this->rSize()+tester->rSize() )
- SetCurPosition( this->LocalPosition()+this->cumulative_transformation_matrix.getR()
+ this->SetCurPosition( this->LocalPosition()+this->cumulative_transformation_matrix.getR()
*( 4*( this->rSize()+tester->rSize() ) ) );
DealPossibleJumpDamage( this );
static int jumparrive = AUDCreateSound( vs_config->getVariable( "unitaudio", "jumparrive", "sfx43.wav" ), false );