diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-24 23:18:05 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-24 23:18:05 +0000 |
| commit | 409980699ad842ffcaf52d6c4ecd6641b48ee262 (patch) | |
| tree | 7e783f4aae1d0ed395586b179cdd2da5c890bbc3 /astro/ephem/files/patch-riset_c.c | |
| parent | - Update to 2.0.5 (diff) | |
- Fix build with gcc41
- Update maintainer's address
PR: ports/108190
Submitted by: Slaven Rezic <slaven@rezic.de> (maintainer)
Notes
Notes:
svn path=/head/; revision=183226
Diffstat (limited to 'astro/ephem/files/patch-riset_c.c')
| -rw-r--r-- | astro/ephem/files/patch-riset_c.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/astro/ephem/files/patch-riset_c.c b/astro/ephem/files/patch-riset_c.c new file mode 100644 index 000000000000..17252b1e9f72 --- /dev/null +++ b/astro/ephem/files/patch-riset_c.c @@ -0,0 +1,19 @@ +--- riset_c.c.orig Sun Jan 21 21:07:04 2007 ++++ riset_c.c Sun Jan 21 21:08:51 2007 +@@ -6,6 +6,16 @@ + #include "circum.h" + #include "screen.h" /* just for SUN and MOON */ + ++static iterative_riset(int p, Now *np, int hzn, ++ double *ltr, double *lts, double *ltt, ++ double *azr, double *azs, double *altt, ++ int *status); ++static stationary_riset(int p, double mjd0, Now *np, int hzn, ++ double *lstr, double *lsts, double *lstt, ++ double *azr, double *azs, double *altt, ++ int *status); ++static transit(double r, double d, Now *np, double *lstt, double *altt); ++ + #define TRACE(x) {FILE *fp = fopen("trace","a"); fprintf x; fclose(fp);} + + #define STDREF degrad(34./60.) /* nominal horizon refraction amount */ |
