[SM-Commit] GIT changes to master grimoire by Florian Franzmann (3a2fee0bfca1deeccf12951c31c196a5a2cd8d43)

Florian Franzmann scm at sourcemage.org
Thu Jan 5 17:12:45 EST 2012


GIT changes to master grimoire by Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>:

 science/celestia/HISTORY                    |    4 ++++
 science/celestia/PRE_BUILD                  |    3 +++
 science/celestia/celestia-1.6.1-gcc46.patch |   13 +++++++++++++
 3 files changed, 20 insertions(+)

New commits:
commit 3a2fee0bfca1deeccf12951c31c196a5a2cd8d43
Author: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>

    science/celestia: fixed build with gcc 4.6

diff --git a/science/celestia/HISTORY b/science/celestia/HISTORY
index 9e2b7be..4db8c97 100644
--- a/science/celestia/HISTORY
+++ b/science/celestia/HISTORY
@@ -1,3 +1,7 @@
+2012-01-05 Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
+	* PRE_BUILD, celestia-1.6.1-gcc46.patch: added patch from gentoo
+	  to fix build with gcc 4.6
+
 2011-12-17 Vlad Glagolev <stealth at sourcemage.org>
 	* DEPENDS: lua -> lua51
 
diff --git a/science/celestia/PRE_BUILD b/science/celestia/PRE_BUILD
new file mode 100755
index 0000000..3830113
--- /dev/null
+++ b/science/celestia/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+patch -p0 < ${SCRIPT_DIRECTORY}/celestia-1.6.1-gcc46.patch
diff --git a/science/celestia/celestia-1.6.1-gcc46.patch b/science/celestia/celestia-1.6.1-gcc46.patch
new file mode 100644
index 0000000..ddf4036
--- /dev/null
+++ b/science/celestia/celestia-1.6.1-gcc46.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/show_bug.cgi?id=366073
+
+Patch written by Nils Larsson <ni1s at nerdshack.com>
+--- src/celengine/frametree.h
++++ src/celengine/frametree.h
+@@ -14,6 +14,7 @@
+ #define _CELENGINE_FRAMETREE_H_
+ 
+ #include <vector>
++#include <cstddef>
+ 
+ class Star;
+ class Body;


More information about the SM-Commit mailing list