diff options
Diffstat (limited to 'time/phoon/patches')
-rw-r--r-- | time/phoon/patches/patch-aa | 22 | ||||
-rw-r--r-- | time/phoon/patches/patch-ab | 12 | ||||
-rw-r--r-- | time/phoon/patches/patch-ac | 21 |
3 files changed, 44 insertions, 11 deletions
diff --git a/time/phoon/patches/patch-aa b/time/phoon/patches/patch-aa index 50e4fc73c31..b795ce70d3a 100644 --- a/time/phoon/patches/patch-aa +++ b/time/phoon/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.3 2012/05/10 22:16:55 dholland Exp $ -diff -r -u phoon.orig/Makefile Makefile ---- phoon.orig/Makefile Sat Nov 11 20:57:08 1995 -+++ Makefile Sat Nov 10 20:10:33 2001 -@@ -1,15 +1,15 @@ +$NetBSD: patch-aa,v 1.4 2012/08/28 17:14:13 is Exp $ + +--- Makefile.orig 2003-01-21 03:04:36.000000000 +0000 ++++ Makefile +@@ -1,15 +1,14 @@ # Makefile for phoon -BINDIR = /usr/local/bin @@ -12,19 +12,19 @@ diff -r -u phoon.orig/Makefile Makefile + +INSTALL = install - DEFINES = -DBSD - #DEFINES = -DSYSV + DEFINES = -DOS_BSD + #DEFINES = -DOS_SYSV -CC = gcc -CFLAGS = -O $(DEFINES) -+CFLAGS += $(DEFINES) - +- -LDFLAGS = -s ++CFLAGS = $(DEFINES) all: phoon -@@ -21,10 +21,8 @@ - $(CC) $(CFLAGS) -c $< +@@ -24,10 +23,8 @@ date_parse.o: date_parse.h + astro.o: astro.h install: all - rm -f $(BINDIR)/phoon diff --git a/time/phoon/patches/patch-ab b/time/phoon/patches/patch-ab new file mode 100644 index 00000000000..ef7f9732b39 --- /dev/null +++ b/time/phoon/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2012/08/28 17:14:13 is Exp $ + +--- astro.c.orig 2003-01-28 00:56:55.000000000 +0000 ++++ astro.c +@@ -25,6 +25,7 @@ + ** See http://www.fourmilab.ch/moontool/ + */ + ++#include <stdlib.h> + #include <stdio.h> + #include <math.h> + #include <time.h> diff --git a/time/phoon/patches/patch-ac b/time/phoon/patches/patch-ac new file mode 100644 index 00000000000..f04cf06e396 --- /dev/null +++ b/time/phoon/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1 2012/08/28 17:14:13 is Exp $ + +--- phoon.c.orig 2005-05-20 19:10:24.000000000 +0000 ++++ phoon.c +@@ -45,6 +45,7 @@ + */ + + ++#include <stdlib.h> + #include <stdio.h> + #include <math.h> + #include <time.h> +@@ -354,7 +355,7 @@ putmoon( time_t t, int numlines, char* a + 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; |