[Lunar-commits] <moonbase> celestia-gtk: A gcc-4.4.1 hack. I do not have gnome or kde3 installed so do not

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Fri Sep 25 20:37:52 CEST 2009


commit 0aed0ef3cdd4babe6b3c3af40bd3fcdf13e6ba61
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Fri Sep 25 14:37:52 2009 -0400

    celestia-gtk: A gcc-4.4.1 hack. I do not have gnome or kde3 installed so do not
    
    know if this will fix their build problem; it does fix the build for the gtk gui.
---
 science/celestia-gtk/BUILD   |    7 +++++--
 science/celestia-gtk/DETAILS |    1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/science/celestia-gtk/BUILD b/science/celestia-gtk/BUILD
index 6628aff..93b05fd 100644
--- a/science/celestia-gtk/BUILD
+++ b/science/celestia-gtk/BUILD
@@ -1,8 +1,11 @@
 (
 
-  OPTS="$OPTS --with-lua"
+  sed -i "16i #include <stdio.h>" src/celengine/overlay.h src/celengine/spiceinterface.cpp &&
+  sed -i "18i #include <stdio.h>" src/celengine/star.cpp &&
 
-  default_build
+  OPTS="$OPTS --with-lua" &&
+
+  default_build  &&
 
   gather_docs controls.txt manual/*.html manual/*.css
 
diff --git a/science/celestia-gtk/DETAILS b/science/celestia-gtk/DETAILS
index fa36912..9b1b23f 100644
--- a/science/celestia-gtk/DETAILS
+++ b/science/celestia-gtk/DETAILS
@@ -8,6 +8,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/celestia-$VERSION
          ENTERED=20041202
          UPDATED=20090807
            SHORT="A 3D real-time space simulation"
+
 cat << EOF
 Celestia is a free real-time space simulation that lets you experience our
 universe in three dimensions. Unlike most planetarium software, Celestia


More information about the Lunar-commits mailing list