summaryrefslogtreecommitdiffstats
path: root/astro/celestia
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-05-22 21:57:39 +0000
committertrevor <trevor@FreeBSD.org>2002-05-22 21:57:39 +0000
commit2043fa016ebe8abab8a6f8db2eabad334eff5866 (patch)
tree2ec456098e9d3905f4edf4e6dd35380240827733 /astro/celestia
parent067462741c6432ed062279d6d0eb0befe54e714b (diff)
downloadFreeBSD-ports-2043fa016ebe8abab8a6f8db2eabad334eff5866.zip
FreeBSD-ports-2043fa016ebe8abab8a6f8db2eabad334eff5866.tar.gz
Make this less crude.
Diffstat (limited to 'astro/celestia')
-rw-r--r--astro/celestia/files/patch-src_celestia_glutmain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/astro/celestia/files/patch-src_celestia_glutmain.cpp b/astro/celestia/files/patch-src_celestia_glutmain.cpp
index b7bdc04..0df8dc6 100644
--- a/astro/celestia/files/patch-src_celestia_glutmain.cpp
+++ b/astro/celestia/files/patch-src_celestia_glutmain.cpp
@@ -1,13 +1,13 @@
$FreeBSD$
--- src/celestia/glutmain.cpp.orig Tue Apr 30 10:36:11 2002
-+++ src/celestia/glutmain.cpp Fri May 17 17:47:50 2002
-@@ -509,7 +509,7 @@ int main(int argc, char* argv[])
++++ src/celestia/glutmain.cpp Sat May 18 16:16:21 2002
+@@ -509,7 +509,7 @@
// Set the simulation starting time to the current system time
time_t curtime=time(NULL);
appCore->start((double) curtime / 86400.0 + (double) astro::Date(1970, 1, 1));
- #ifdef MACOSX
-+ #if 1
++ #if defined(MACOSX) || defined(__FreeBSD__)
/* localtime in Darwin is is reentrant only
equiv to Linux localtime_r()
should probably port !MACOSX code to use this too, available since
OpenPOWER on IntegriCloud