aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-03-09 17:09:44 +0800
committerahze <ahze@FreeBSD.org>2005-03-09 17:09:44 +0800
commitdcf7fc26a72d9149f759f06589381e2fc9dcef24 (patch)
tree1a5883fae1fcdda7901350e015b9d5f7d83dd1cc /astro
parent610e502dafb11ff40963d2bf3e2bf613b811da8b (diff)
downloadfreebsd-ports-gnome-dcf7fc26a72d9149f759f06589381e2fc9dcef24.tar.gz
freebsd-ports-gnome-dcf7fc26a72d9149f759f06589381e2fc9dcef24.tar.zst
freebsd-ports-gnome-dcf7fc26a72d9149f759f06589381e2fc9dcef24.zip
- Fix compile warnings
- Transfer MAINTAINER to submitter PR: ports/78566 Submitted by: Søren Straarup <xride@x12.dk>
Diffstat (limited to 'astro')
-rw-r--r--astro/phoon/Makefile2
-rw-r--r--astro/phoon/files/patch-astro.h8
-rw-r--r--astro/phoon/files/patch-phoon.c11
3 files changed, 20 insertions, 1 deletions
diff --git a/astro/phoon/Makefile b/astro/phoon/Makefile
index 2d332528a0d7..111aa212bec8 100644
--- a/astro/phoon/Makefile
+++ b/astro/phoon/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://www.acme.com/software/phoon/
PKGNAMESUFFIX= _20jan
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= xride@x12.dk
COMMENT= Displays the phase of the moon
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/astro/phoon/files/patch-astro.h b/astro/phoon/files/patch-astro.h
new file mode 100644
index 000000000000..9c1eec562f52
--- /dev/null
+++ b/astro/phoon/files/patch-astro.h
@@ -0,0 +1,8 @@
+--- astro.h.orig Sun Mar 6 22:43:59 2005
++++ astro.h Sun Mar 6 22:44:05 2005
+@@ -43,4 +43,4 @@
+ */
+ extern double phase( double pdate, double* pphase, double* mage, double* dist, double* angdia, double* sudist, double* suangdia );
+
+-#endif _ASTRO_H_
++#endif
diff --git a/astro/phoon/files/patch-phoon.c b/astro/phoon/files/patch-phoon.c
new file mode 100644
index 000000000000..af5de8cb327b
--- /dev/null
+++ b/astro/phoon/files/patch-phoon.c
@@ -0,0 +1,11 @@
+--- phoon.c.orig Sun Mar 6 22:33:22 2005
++++ phoon.c Sun Mar 6 22:33:45 2005
+@@ -354,7 +354,7 @@
+ struct tm* tmP;
+ double jd, pctphase, angphase, cphase, aom, cdist, cangdia, csund, csuang;
+ double phases[2], which[2];
+- long clocknow;
++ time_t clocknow;
+ int atflrlen, atflridx, numcols, lin, col, midlin;
+ double mcap, yrad, xrad, y, xright, xleft;
+ int colright, colleft;