File celestia-1.6.0-gcc45.patch of Package celestia
--- src/celestia/celx_object.cpp.sav 2009-06-22 17:44:22.000000000 +0200
+++ src/celestia/celx_object.cpp 2010-02-15 13:30:49.361352482 +0100
@@ -773,7 +773,7 @@ static int object_mark(lua_State* l)
markAlpha = 1.0f;
Color markColorAlpha(0.0f, 1.0f, 0.0f, 0.9f);
- markColorAlpha = Color::Color(markColor, markAlpha);
+ markColorAlpha = Color(markColor, markAlpha);
const char* markLabel = celx.safeGetString(6, WrongType, "Fifth argument to object:mark must be a string");
if (markLabel == NULL)
--- src/celmath/mathlib.h.sav 2009-06-22 17:44:25.000000000 +0200
+++ src/celmath/mathlib.h 2010-02-15 13:32:44.242477804 +0100
@@ -11,7 +11,7 @@
#define _CELMATH_MATHLIB_H_
#include <cmath>
-#include <stdlib.h>
+#include <cstdlib>
#define PI 3.14159265358979323846