View | Details | Raw Unified | Return to bug 204130
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	phoon
4
PORTNAME=	phoon
5
PORTVERSION=	2005
5
PORTVERSION=	2014
6
CATEGORIES=	astro
6
CATEGORIES=	astro
7
MASTER_SITES=	http://www.acme.com/software/phoon/
7
MASTER_SITES=	http://www.acme.com/software/phoon/
8
PKGNAMESUFFIX=	_29jun
8
PKGNAMESUFFIX=	_14Aug
9
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}${PORTVERSION}
9
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}${PORTVERSION}
10
10
11
MAINTAINER=	xride@FreeBSD.org
11
MAINTAINER=	xride@FreeBSD.org
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (phoon_29jun2005.tar.gz) = 3578bc3e7d364500eb39dfe135ce63c3ead41dcc67a22d19ba13037e107c5ace
1
SHA256 (phoon_14Aug2014.tar.gz) = bad9b5e37ccaf76a10391cc1fa4aff9654e54814be652b443853706db18ad7c1
2
SIZE (phoon_29jun2005.tar.gz) = 17450
2
SIZE (phoon_14Aug2014.tar.gz) = 17693
(-)files/patch-Makefile (-7 / +7 lines)
Lines 1-5 Link Here
1
--- ./Makefile.orig	2003-01-21 04:04:36.000000000 +0100
1
--- Makefile.orig	2014-08-11 19:14:07 UTC
2
+++ ./Makefile	2014-02-12 22:39:19.404018490 +0100
2
+++ Makefile
3
@@ -1,15 +1,15 @@
3
@@ -1,15 +1,15 @@
4
 # Makefile for phoon
4
 # Makefile for phoon
5
 
5
 
Lines 11-20 Link Here
11
 DEFINES =	-DOS_BSD
11
 DEFINES =	-DOS_BSD
12
 #DEFINES =	-DOS_SYSV
12
 #DEFINES =	-DOS_SYSV
13
 
13
 
14
-CC =		gcc
14
-CC =		cc
15
-CFLAGS =	-O $(DEFINES)
15
-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
16
+CC ?=		gcc
16
+CC ?=		cc
17
+CFLAGS +=	$(DEFINES)
17
+CFLAGS +=	$(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
18
 
18
 
19
-LDFLAGS =	-s
19
-LDFLAGS =	-s
20
+#LDFLAGS =	-s
20
+#LDFLAGS =	-s
Lines 21-27 Link Here
21
 
21
 
22
 
22
 
23
 all:		phoon
23
 all:		phoon
24
@@ -24,7 +24,7 @@
24
@@ -24,7 +24,7 @@ date_parse.o:	date_parse.h
25
 astro.o:	astro.h
25
 astro.o:	astro.h
26
 
26
 
27
 install:	all
27
 install:	all
(-)files/patch-astro.h (-11 lines)
Lines 1-8 Link Here
1
--- ./astro.h.orig	2003-01-28 01:55:32.000000000 +0100
2
+++ ./astro.h	2014-02-12 22:38:52.437019902 +0100
3
@@ -43,4 +43,4 @@
4
  */
5
 extern double phase( double pdate, double* pphase, double* mage, double* dist, double* angdia, double* sudist, double* suangdia );
6
 
7
-#endif _ASTRO_H_
8
+#endif
9
yes
10
native
11
text/plain
(-)files/patch-phoon.c (-14 lines)
Lines 1-11 Link Here
1
--- ./phoon.c.orig	2005-05-20 21:10:24.000000000 +0200
2
+++ ./phoon.c	2014-02-12 22:38:52.438019914 +0100
3
@@ -354,7 +354,7 @@
4
     struct tm* tmP;
5
     double jd, pctphase, angphase, cphase, aom, cdist, cangdia, csund, csuang;
6
     double phases[2], which[2];
7
-    long clocknow;
8
+    time_t clocknow;
9
     int atflrlen, atflridx, numcols, lin, col, midlin;
10
     double mcap, yrad, xrad, y, xright, xleft;
11
     int colright, colleft;
12
yes
13
native
14
text/plain

Return to bug 204130