[vegastrike] Move gfxlib fix from .cpp to .h.

Bruno Wolff III bruno at fedoraproject.org
Sat Jul 9 19:00:30 UTC 2011


commit a14739f7ef4d1ebd82f2d03675ae5c537c5eec4c
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jul 9 11:04:12 2011 -0500

    Move gfxlib fix from .cpp to .h.

 vegastrike-0.5.1-gcc46.patch |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/vegastrike-0.5.1-gcc46.patch b/vegastrike-0.5.1-gcc46.patch
index a1947c1..a5a672d 100644
--- a/vegastrike-0.5.1-gcc46.patch
+++ b/vegastrike-0.5.1-gcc46.patch
@@ -38,13 +38,13 @@
      static float  targettimer = UniverseUtil::GetGameTime();    //timer used to determine passage of physics frames
      static float  mintimetoswitch =
          XMLSupport::parse_float( vs_config->getVariable( "AI", "Targetting", "MinTimeToSwitchTargets", "3" ) );
---- src/gfxlib_struct.cpp.orig	2011-07-09 10:36:29.266245400 -0500
-+++ src/gfxlib_struct.cpp	2011-07-09 10:37:18.779538285 -0500
-@@ -9,6 +9,7 @@
- 
- #include "options.h"
- 
+--- src/gfxlib.h.orig	2011-07-09 11:02:39.134767618 -0500
++++ src/gfxlib.h	2011-07-09 11:03:09.473623529 -0500
+@@ -37,6 +37,7 @@
+  * #include <GL/glut.h>
+  * #endif
+  #endif*/
 +#include <cstddef>
  #include <vector>
+ class Matrix;
  
- extern vs_options game_options;


More information about the scm-commits mailing list