ports/109005: [PATCH] astro/libnova
CHAO Shin
quakelee at cn.freebsd.org
Sat Feb 10 05:00:11 UTC 2007
>Number: 109005
>Category: ports
>Synopsis: [PATCH] astro/libnova
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 10 05:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: CHAO Shin
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD portyard.sysdept.sina.com.cn 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Feb 1 19:02:06 CST 2007 root at portyard.sysdept.sina.com.cn:/usr/obj/usr/src/sys/GX270 i386
>Description:
update to new version
>How-To-Repeat:
>Fix:
--- patch-libnova.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/astro/libnova/Makefile,v
retrieving revision 1.22
diff -a -u -r1.22 Makefile
--- Makefile 1 Feb 2007 02:41:16 -0000 1.22
+++ Makefile 10 Feb 2007 04:01:00 -0000
@@ -7,11 +7,10 @@
#
PORTNAME= libnova
-PORTVERSION= 0.12.0
+PORTVERSION= 0.12.1
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_${PORTVERSION}-1
MAINTAINER= ports at FreeBSD.org
COMMENT= Astronomical Calculation Library
@@ -29,8 +28,8 @@
IGNORE= requires FreeBSD 5.3 or higher
.endif
-post-extract:
- @${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}
+#post-extract:
+# @${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/astro/libnova/distinfo,v
retrieving revision 1.10
diff -a -u -r1.10 distinfo
--- distinfo 18 Aug 2006 18:15:15 -0000 1.10
+++ distinfo 10 Feb 2007 03:44:04 -0000
@@ -1,3 +1,3 @@
-MD5 (libnova_0.12.0-1.tar.gz) = cca5972306b032b58413ee30b64e18a4
-SHA256 (libnova_0.12.0-1.tar.gz) = d7d0a00bf3fd0fc6819277d3854b80c4c1bd0905b3d9f1d8f296455e42c9fde3
-SIZE (libnova_0.12.0-1.tar.gz) = 3033093
+MD5 (libnova-0.12.1.tar.gz) = f0bffb2eb0bfa041e4c4d9764aadd94d
+SHA256 (libnova-0.12.1.tar.gz) = 8053445e862413a8e042264290da7d70bfa2ed46b4596c86b67962820b61462f
+SIZE (libnova-0.12.1.tar.gz) = 1498120
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/astro/libnova/pkg-plist,v
retrieving revision 1.11
diff -a -u -r1.11 pkg-plist
--- pkg-plist 18 Aug 2006 18:15:15 -0000 1.11
+++ pkg-plist 10 Feb 2007 04:19:28 -0000
@@ -34,7 +34,7 @@
include/libnova/venus.h
include/libnova/vsop87.h
lib/libnova-0.12.so
-lib/libnova-0.12.so.0
+lib/libnova-0.12.so.1
lib/libnova.a
lib/libnova.la
lib/libnova.so
Index: files/patch-src__utility.c
===================================================================
RCS file: /home/ncvs/ports/astro/libnova/files/patch-src__utility.c,v
retrieving revision 1.1
diff -a -u -r1.1 patch-src__utility.c
--- files/patch-src__utility.c 9 Oct 2005 01:13:44 -0000 1.1
+++ files/patch-src__utility.c 10 Feb 2007 04:09:59 -0000
@@ -1,5 +1,5 @@
---- src/utility.c.orig Sun Oct 9 11:04:48 2005
-+++ src/utility.c Sun Oct 9 11:04:56 2005
+--- src/utility.c.orig Wed Jan 17 08:16:02 2007
++++ src/utility.c Sat Feb 10 12:08:36 2007
@@ -45,10 +45,6 @@
#include <ctype.h>
#include <libnova/utility.h>
@@ -8,6 +8,6 @@
-#include <malloc.h>
-#endif
-
- #ifndef WIN32
- #include "config.h"
- #else
+ /* Include unistd.h only if not on a Win32 platform */
+ /* Include Win32 Headers sys/types.h and sys/timeb.h if on Win32 */
+ #ifndef __WIN32__
--- patch-libnova.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list