aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-25 16:26:04 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-25 16:26:04 +0000
commit2b42db0479f8233e1ed088a07c43b59cb60f4546 (patch)
treedab572136c4961b3fa7fa93ab77469619dded596 /astro
parentb6ffb8d2afffe31677d0a1bae9c069222ec6b1bb (diff)
downloadports-2b42db0479f8233e1ed088a07c43b59cb60f4546.tar.gz
ports-2b42db0479f8233e1ed088a07c43b59cb60f4546.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/libnova/Makefile2
-rw-r--r--astro/libnova/distinfo2
-rw-r--r--astro/libnova/files/patch-misc.c10
-rw-r--r--astro/libnova/files/patch-src::julian_day.c18
-rw-r--r--astro/libnova/files/patch-src::misc.c12
-rw-r--r--astro/libnova/pkg-plist2
6 files changed, 15 insertions, 31 deletions
diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile
index 37979c53e6bb..775af37e3cfe 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 b48aefb97c8a..cb51db820dbd 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 9038c794b4a4..000000000000
--- 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 f3eb5a483a29..000000000000
--- 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 000000000000..1d324e229b1f
--- /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 3c2f53bada6d..b02afad2bd06 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