summaryrefslogtreecommitdiff
path: root/astro/xplanet
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-11-18 01:36:31 +0000
committerWill Andrews <will@FreeBSD.org>2002-11-18 01:36:31 +0000
commitf0a70b7ec37cbfb664bb6f28158a7cdd005d61bf (patch)
treedabb73b3ecc0ca9b13e668e6e0107e8e60290ea7 /astro/xplanet
parentold C++ code needs gcc 2.95 (diff)
Fix build on -CURRENT. Build tested on -STABLE as well.
Submitted by: schweikh
Notes
Notes: svn path=/head/; revision=70346
Diffstat (limited to 'astro/xplanet')
-rw-r--r--astro/xplanet/files/patch-xplanetbg.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/astro/xplanet/files/patch-xplanetbg.cc b/astro/xplanet/files/patch-xplanetbg.cc
new file mode 100644
index 000000000000..e0f022967c28
--- /dev/null
+++ b/astro/xplanet/files/patch-xplanetbg.cc
@@ -0,0 +1,11 @@
+--- xplanetbg.cc.orig Fri Mar 22 04:17:05 2002
++++ xplanetbg.cc Sun Nov 17 18:26:59 2002
+@@ -907,7 +907,7 @@
+
+ if (debug)
+ {
+- cout << "Finished at " << ctime(&current_time.tv_sec);
++ cout << "Finished at " << ctime((time_t *)&current_time.tv_sec);
+ cout << "Sleeping for " << sleep_time << " seconds until "
+ << ctime((time_t *) &next_update) << endl;
+ }