summaryrefslogtreecommitdiffstats
path: root/academic/celestia/celestia-1.5.1-gcc44.patch
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@liwjatan.at>2010-07-25 21:44:44 -0500
committer Erik Hanson <erik@slackbuilds.org>2010-07-25 21:52:42 -0500
commited89d626b0af8bed0d13de89006d8f463189328a (patch)
tree1c7c3e2bee82f1c3771792cc384c441122f5ad47 /academic/celestia/celestia-1.5.1-gcc44.patch
parentc7891ae2d3a6b4962dd7b4e82db0f840144201d2 (diff)
downloadslackbuilds-ed89d626b0af8bed0d13de89006d8f463189328a.tar.gz
slackbuilds-ed89d626b0af8bed0d13de89006d8f463189328a.tar.xz
academic/celestia: Added (Realtime Space Simulation)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'academic/celestia/celestia-1.5.1-gcc44.patch')
-rw-r--r--academic/celestia/celestia-1.5.1-gcc44.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/academic/celestia/celestia-1.5.1-gcc44.patch b/academic/celestia/celestia-1.5.1-gcc44.patch
new file mode 100644
index 0000000000..6f484484f7
--- /dev/null
+++ b/academic/celestia/celestia-1.5.1-gcc44.patch
@@ -0,0 +1,30 @@
+diff -NrU5 celestia-1.5.1.orig/src/celengine/overlay.h celestia-1.5.1/src/celengine/overlay.h
+--- celestia-1.5.1.orig/src/celengine/overlay.h 2009-05-17 15:01:34.000000000 -0600
++++ celestia-1.5.1/src/celengine/overlay.h 2009-05-17 15:02:56.000000000 -0600
+@@ -9,10 +9,11 @@
+
+ #ifndef _OVERLAY_H_
+ #define _OVERLAY_H_
+
+ #include <string>
++#include <cstdio>
+ #include <iostream>
+ #include <celtxf/texturefont.h>
+
+
+ class Overlay;
+diff -NrU5 celestia-1.5.1.orig/src/celengine/star.cpp celestia-1.5.1/src/celengine/star.cpp
+--- celestia-1.5.1.orig/src/celengine/star.cpp 2009-05-17 15:01:34.000000000 -0600
++++ celestia-1.5.1/src/celengine/star.cpp 2009-05-17 15:03:43.000000000 -0600
+@@ -7,10 +7,11 @@
+ // as published by the Free Software Foundation; either version 2
+ // of the License, or (at your option) any later version.
+
+ #include <celmath/mathlib.h>
+ #include <cstring>
++#include <cstdio>
+ #include <cassert>
+ #include "celestia.h"
+ #include "astro.h"
+ #include "orbit.h"
+ #include "star.h"