From 0a9c704223ed6e41b95af7f397a3edf4fd21eab2 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 8 Dec 2014 09:03:28 -0500 Subject: [PATCH] Add celestia patch to compile with gcc-4.7 --- stage5/patches/common/celestia-1.6.1-gcc47-fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 stage5/patches/common/celestia-1.6.1-gcc47-fix.patch diff --git a/stage5/patches/common/celestia-1.6.1-gcc47-fix.patch b/stage5/patches/common/celestia-1.6.1-gcc47-fix.patch new file mode 100644 index 0000000..fdf2d18 --- /dev/null +++ b/stage5/patches/common/celestia-1.6.1-gcc47-fix.patch @@ -0,0 +1,12 @@ +diff -Naur celestia-1.6.1.orig/src/celmath/intersect.h celestia-1.6.1.new/src/celmath/intersect.h +--- celestia-1.6.1.orig/src/celmath/intersect.h 2011-06-05 12:11:15.000000000 -0400 ++++ celestia-1.6.1.new/src/celmath/intersect.h 2014-12-07 20:16:03.937882223 -0500 +@@ -15,7 +15,7 @@ + #include "ray.h" + #include "sphere.h" + #include "ellipsoid.h" +- ++#include "mathlib.h" + + template bool testIntersection(const Ray3& ray, + const Sphere& sphere, -- 2.20.1