mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Update to 0.8.0
Approved by: fjoe (mentor) (implicit)
This commit is contained in:
parent
1fcf67dd06
commit
89fe78592d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85947
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libnova
|
||||
PORTVERSION= 0.7.0
|
||||
PORTVERSION= 0.8.0
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -1 +1 @@
|
||||
MD5 (libnova-0.7.0.tar.gz) = 0b09fe41c5c60852568f72ec31b44b4c
|
||||
MD5 (libnova-0.8.0.tar.gz) = 3ec01ca9251533639aa6e18da22e6a90
|
||||
|
18
astro/libnova/files/patch-src::julian_day.c
Normal file
18
astro/libnova/files/patch-src::julian_day.c
Normal file
@ -0,0 +1,18 @@
|
||||
--- src/julian_day.c.orig Wed Jul 30 22:53:43 2003
|
||||
+++ src/julian_day.c Wed Jul 30 22:54:56 2003
|
||||
@@ -317,8 +317,14 @@
|
||||
*/
|
||||
void get_local_date (double JD, struct ln_date * date)
|
||||
{
|
||||
+ time_t curtime;
|
||||
+ struct tm * loctime;
|
||||
+
|
||||
+ curtime = time (NULL);
|
||||
+ loctime = localtime(&curtime);
|
||||
+
|
||||
/* add timezone to JD */
|
||||
- JD += (double)timezone / (24 * 60 * 60);
|
||||
+ JD += ((double)loctime->tm_gmtoff) / (24.0 * 60.0 * 60.0);
|
||||
|
||||
get_date (JD, date);
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
@comment $FreeBSD$
|
||||
bin/libnovaconfig
|
||||
include/libnova.h
|
||||
lib/libnova-0.7.so.0
|
||||
lib/libnova.so
|
||||
lib/libnova-0.8.so.0
|
||||
lib/libnova.a
|
||||
lib/libnova.so
|
||||
share/aclocal/libnova-check.m4
|
||||
|
Loading…
Reference in New Issue
Block a user