From: Hugo Villeneuve Date: Mon, 8 Dec 2014 14:03:28 +0000 (-0500) Subject: Add celestia patch to compile with gcc-4.7 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=0a9c704223ed6e41b95af7f397a3edf4fd21eab2;p=hvlinux.git Add celestia patch to compile with gcc-4.7 --- 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,