aboutsummaryrefslogtreecommitdiffstats
path: root/astro/celestia
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-06-16 02:35:23 +0800
committerdanfe <danfe@FreeBSD.org>2013-06-16 02:35:23 +0800
commit8182dca82cb15ab64e0c41d9edb78552a5d36e86 (patch)
tree98606deb3fa8593ff7d600f7ac07dbdd93ece02b /astro/celestia
parentfff7af44474946c5e6458c72a1cf622e16fba7db (diff)
downloadfreebsd-ports-gnome-8182dca82cb15ab64e0c41d9edb78552a5d36e86.tar.gz
freebsd-ports-gnome-8182dca82cb15ab64e0c41d9edb78552a5d36e86.tar.zst
freebsd-ports-gnome-8182dca82cb15ab64e0c41d9edb78552a5d36e86.zip
Unbreak the build against Clang:
http://clang.llvm.org/compatibility.html#dep_lookup While here, consistently set fbsd:nokeywords on all patch files. Reported by: miwi
Diffstat (limited to 'astro/celestia')
-rw-r--r--astro/celestia/files/patch-src_celestia_glutmain.cpp2
-rw-r--r--astro/celestia/files/patch-src_celmath_intersect.h10
2 files changed, 10 insertions, 2 deletions
diff --git a/astro/celestia/files/patch-src_celestia_glutmain.cpp b/astro/celestia/files/patch-src_celestia_glutmain.cpp
index fa8ce5866360..31c5b2605a4b 100644
--- a/astro/celestia/files/patch-src_celestia_glutmain.cpp
+++ b/astro/celestia/files/patch-src_celestia_glutmain.cpp
@@ -1,5 +1,3 @@
-$FreeBSD$
-
--- src/celestia/glutmain.cpp.orig Sat Nov 2 23:20:19 2002
+++ src/celestia/glutmain.cpp Tue Mar 16 12:47:46 2004
@@ -511,8 +511,8 @@
diff --git a/astro/celestia/files/patch-src_celmath_intersect.h b/astro/celestia/files/patch-src_celmath_intersect.h
new file mode 100644
index 000000000000..e70f9ab5949c
--- /dev/null
+++ b/astro/celestia/files/patch-src_celmath_intersect.h
@@ -0,0 +1,10 @@
+--- src/celmath/intersect.h.orig 2011-06-06 00:11:15.000000000 +0800
++++ src/celmath/intersect.h 2013-06-16 02:00:47.000000000 +0800
+@@ -12,6 +12,7 @@
+ #ifndef _CELMATH_INTERSECT_H_
+ #define _CELMATH_INTERSECT_H_
+
++#include "mathlib.h"
+ #include "ray.h"
+ #include "sphere.h"
+ #include "ellipsoid.h"