From owner-svn-ports-all@freebsd.org Sun Jun 3 03:25:12 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30A97FE9B57; Sun, 3 Jun 2018 03:25:12 +0000 (UTC) (envelope-from xride@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA3B76A5BF; Sun, 3 Jun 2018 03:25:11 +0000 (UTC) (envelope-from xride@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BA41E1912C; Sun, 3 Jun 2018 03:25:11 +0000 (UTC) (envelope-from xride@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w533PBaP086185; Sun, 3 Jun 2018 03:25:11 GMT (envelope-from xride@FreeBSD.org) Received: (from xride@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w533PAfq086181; Sun, 3 Jun 2018 03:25:10 GMT (envelope-from xride@FreeBSD.org) Message-Id: <201806030325.w533PAfq086181@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: xride set sender to xride@FreeBSD.org using -f From: Soeren Straarup Date: Sun, 3 Jun 2018 03:25:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471445 - in head/astro/phoon: . files X-SVN-Group: ports-head X-SVN-Commit-Author: xride X-SVN-Commit-Paths: in head/astro/phoon: . files X-SVN-Commit-Revision: 471445 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 03:25:12 -0000 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@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 ) + {