svn commit: r471445 - in head/astro/phoon: . files
Soeren Straarup
xride at FreeBSD.org
Sun Jun 3 03:25:12 UTC 2018
Author: xride
Date: Sun Jun 3 03:25:10 2018
New Revision: 471445
URL: https://svnweb.freebsd.org/changeset/ports/471445
Log:
Update to 14Aug2014
Deleted:
head/astro/phoon/files/patch-astro.h
Modified:
head/astro/phoon/Makefile
head/astro/phoon/distinfo
head/astro/phoon/files/patch-Makefile
head/astro/phoon/files/patch-phoon.c
Modified: head/astro/phoon/Makefile
==============================================================================
--- head/astro/phoon/Makefile Sun Jun 3 03:06:24 2018 (r471444)
+++ head/astro/phoon/Makefile Sun Jun 3 03:25:10 2018 (r471445)
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= phoon
-PORTVERSION= 2005
+PORTVERSION= 2014
CATEGORIES= astro
MASTER_SITES= http://www.acme.com/software/phoon/
-PKGNAMESUFFIX= _29jun
+PKGNAMESUFFIX= _14Aug
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}${PORTVERSION}
MAINTAINER= xride at FreeBSD.org
Modified: head/astro/phoon/distinfo
==============================================================================
--- head/astro/phoon/distinfo Sun Jun 3 03:06:24 2018 (r471444)
+++ head/astro/phoon/distinfo Sun Jun 3 03:25:10 2018 (r471445)
@@ -1,2 +1,3 @@
-SHA256 (phoon_29jun2005.tar.gz) = 3578bc3e7d364500eb39dfe135ce63c3ead41dcc67a22d19ba13037e107c5ace
-SIZE (phoon_29jun2005.tar.gz) = 17450
+TIMESTAMP = 1527981336
+SHA256 (phoon_14Aug2014.tar.gz) = bad9b5e37ccaf76a10391cc1fa4aff9654e54814be652b443853706db18ad7c1
+SIZE (phoon_14Aug2014.tar.gz) = 17693
Modified: head/astro/phoon/files/patch-Makefile
==============================================================================
--- head/astro/phoon/files/patch-Makefile Sun Jun 3 03:06:24 2018 (r471444)
+++ head/astro/phoon/files/patch-Makefile Sun Jun 3 03:25:10 2018 (r471445)
@@ -1,6 +1,6 @@
---- Makefile.orig 2003-01-21 03:04:36 UTC
+--- Makefile.orig 2014-08-11 19:14:07 UTC
+++ Makefile
-@@ -1,15 +1,15 @@
+@@ -1,17 +1,14 @@
# Makefile for phoon
-BINDIR = /usr/local/bin
@@ -11,17 +11,18 @@
DEFINES = -DOS_BSD
#DEFINES = -DOS_SYSV
--CC = gcc
--CFLAGS = -O $(DEFINES)
-+CC ?= gcc
-+CFLAGS += $(DEFINES)
+-CC = cc
+-CFLAGS = -O $(DEFINES) -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
++CC ?= cc
++CFLAGS += $(DEFINES) -ansi -pedantic -Wall -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes
-LDFLAGS = -s
-+#LDFLAGS = -s
-
-
+-
+-
all: phoon
-@@ -24,7 +24,7 @@ date_parse.o: date_parse.h
+
+ phoon: phoon.o date_parse.o astro.o
+@@ -24,7 +21,7 @@ date_parse.o: date_parse.h
astro.o: astro.h
install: all
Modified: head/astro/phoon/files/patch-phoon.c
==============================================================================
--- head/astro/phoon/files/patch-phoon.c Sun Jun 3 03:06:24 2018 (r471444)
+++ head/astro/phoon/files/patch-phoon.c Sun Jun 3 03:25:10 2018 (r471445)
@@ -1,11 +1,11 @@
---- phoon.c.orig 2005-05-20 19:10:24 UTC
+--- phoon.c.orig 2014-06-29 23:07:16 UTC
+++ phoon.c
-@@ -354,7 +354,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;
+@@ -534,7 +534,7 @@ main( int argc, char** argv )
+ if ( argc - argn == 0 )
+ {
+ /* No arguments present - use the current date and time. */
+- t = time( (time_t) 0 );
++ t = time( NULL );
+ }
+ else if ( argc - argn == 1 || argc - argn == 2 || argc - argn == 3 )
+ {
More information about the svn-ports-all
mailing list