summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-29 22:02:01 +0000
committersteve <steve@FreeBSD.org>2000-01-29 22:02:01 +0000
commit0fd48e7db193bb224533a9fcafcf0a85d661e684 (patch)
tree6375af9ca618e1c861f1db05e8d2732c794b2d01 /astro
parentbaf5c26dd65acd5ad9e39d87e4f0b433aa0cbcf5 (diff)
downloadFreeBSD-ports-0fd48e7db193bb224533a9fcafcf0a85d661e684.zip
FreeBSD-ports-0fd48e7db193bb224533a9fcafcf0a85d661e684.tar.gz
Get this to build again on the Alpha.
Diffstat (limited to 'astro')
-rw-r--r--astro/ephem/files/patch-af32
1 files changed, 27 insertions, 5 deletions
diff --git a/astro/ephem/files/patch-af b/astro/ephem/files/patch-af
index bd08044..a90140e 100644
--- a/astro/ephem/files/patch-af
+++ b/astro/ephem/files/patch-af
@@ -1,7 +1,7 @@
-*** main.c.orig Tue Apr 15 01:07:37 1997
---- main.c Tue Apr 15 01:33:16 1997
+*** main.c.orig Sat Mar 14 16:22:10 1992
+--- main.c Fri Jan 14 09:56:45 2000
***************
-*** 16,22 ****
+*** 16,24 ****
#include <signal.h>
#include <setjmp.h>
#include <math.h>
@@ -9,17 +9,22 @@
#include <stdlib.h>
#endif
#include "astro.h"
---- 16,22 ----
+ #include "circum.h"
+ #include "screen.h"
+--- 16,25 ----
#include <signal.h>
#include <setjmp.h>
#include <math.h>
! #if defined(VMS) || defined(unix)
#include <stdlib.h>
#endif
++ #include <time.h>
#include "astro.h"
+ #include "circum.h"
+ #include "screen.h"
***************
*** 51,57 ****
---- 51,61 ----
+--- 52,62 ----
static jmp_buf fpe_err_jmp; /* used to recover from SIGFPE */
static char *cfgfile; /* !0 if -c used */
@@ -31,3 +36,20 @@
static Now now; /* where when and how, right now */
static double tminc; /* hrs to inc time by each loop; RTC means use clock */
static int nstep; /* steps to go before stopping */
+***************
+*** 1006,1012 ****
+ */
+ slp_sync()
+ {
+! extern long time();
+
+ if (spause > 0 && !plot_ison() && !srch_ison() && !listing_ison()) {
+ int n;
+--- 1011,1017 ----
+ */
+ slp_sync()
+ {
+! /*extern long time();*/
+
+ if (spause > 0 && !plot_ison() && !srch_ison() && !listing_ison()) {
+ int n;
OpenPOWER on IntegriCloud