diff options
author | krion <krion@FreeBSD.org> | 2004-01-25 16:26:04 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-25 16:26:04 +0000 |
commit | 6f9917b6fc585a16c8adf60e31184371378b009a (patch) | |
tree | 47dbb90e1c935bab34cb8eefb8268a3d54c981b0 /astro | |
parent | 3c013284f8153fb933c35d380882ad986124fd6d (diff) | |
download | FreeBSD-ports-6f9917b6fc585a16c8adf60e31184371378b009a.zip FreeBSD-ports-6f9917b6fc585a16c8adf60e31184371378b009a.tar.gz |
- Update to version 0.9.0
Diffstat (limited to 'astro')
-rw-r--r-- | astro/libnova/Makefile | 2 | ||||
-rw-r--r-- | astro/libnova/distinfo | 2 | ||||
-rw-r--r-- | astro/libnova/files/patch-misc.c | 10 | ||||
-rw-r--r-- | astro/libnova/files/patch-src::julian_day.c | 18 | ||||
-rw-r--r-- | astro/libnova/files/patch-src::misc.c | 12 | ||||
-rw-r--r-- | astro/libnova/pkg-plist | 2 |
6 files changed, 15 insertions, 31 deletions
diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile index 37979c5..775af37 100644 --- a/astro/libnova/Makefile +++ b/astro/libnova/Makefile @@ -7,7 +7,7 @@ # PORTNAME= libnova -PORTVERSION= 0.8.0 +PORTVERSION= 0.9.0 CATEGORIES= astro MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/astro/libnova/distinfo b/astro/libnova/distinfo index b48aefb..cb51db8 100644 --- a/astro/libnova/distinfo +++ b/astro/libnova/distinfo @@ -1 +1 @@ -MD5 (libnova-0.8.0.tar.gz) = 3ec01ca9251533639aa6e18da22e6a90 +MD5 (libnova-0.9.0.tar.gz) = 3bc5e7ec0333bda1a8dfdc3431ee1590 diff --git a/astro/libnova/files/patch-misc.c b/astro/libnova/files/patch-misc.c deleted file mode 100644 index 9038c79..0000000 --- a/astro/libnova/files/patch-misc.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./src/misc.c.orig Fri Oct 25 01:29:37 2002 -+++ ./src/misc.c Fri Oct 25 01:29:45 2002 -@@ -36,7 +36,6 @@ - - /**/ - #include <stdio.h> --#include <malloc.h> - #include <stdlib.h> - #include <stdarg.h> - #include <unistd.h> diff --git a/astro/libnova/files/patch-src::julian_day.c b/astro/libnova/files/patch-src::julian_day.c deleted file mode 100644 index f3eb5a4..0000000 --- a/astro/libnova/files/patch-src::julian_day.c +++ /dev/null @@ -1,18 +0,0 @@ ---- 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); - } diff --git a/astro/libnova/files/patch-src::misc.c b/astro/libnova/files/patch-src::misc.c new file mode 100644 index 0000000..1d324e2 --- /dev/null +++ b/astro/libnova/files/patch-src::misc.c @@ -0,0 +1,12 @@ +--- src/misc.c.orig Sun Jan 25 17:18:32 2004 ++++ src/misc.c Sun Jan 25 17:18:42 2004 +@@ -44,9 +44,6 @@ + #include <ctype.h> + #include "libnova.h" + +-#ifndef __APPLE__ +-#include <malloc.h> +-#endif +
+ /* local types and macros */
+ typedef int BOOL; diff --git a/astro/libnova/pkg-plist b/astro/libnova/pkg-plist index 3c2f53b..b02afad 100644 --- a/astro/libnova/pkg-plist +++ b/astro/libnova/pkg-plist @@ -1,6 +1,6 @@ bin/libnovaconfig include/libnova.h -lib/libnova-0.8.so.0 +lib/libnova-0.9.so.0 lib/libnova.a lib/libnova.so share/aclocal/libnova-check.m4 |