From owner-svn-ports-all@FreeBSD.ORG Wed Nov 21 09:49:47 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 999EEA60; Wed, 21 Nov 2012 09:49:47 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2D58FC13; Wed, 21 Nov 2012 09:49:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAL9nlf8018310; Wed, 21 Nov 2012 09:49:47 GMT (envelope-from ache@svn.freebsd.org) Received: (from ache@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAL9nl4a018306; Wed, 21 Nov 2012 09:49:47 GMT (envelope-from ache@svn.freebsd.org) Message-Id: <201211210949.qAL9nl4a018306@svn.freebsd.org> From: "Andrey A. Chernov" Date: Wed, 21 Nov 2012 09:49:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307612 - in head/misc/astrolog: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 09:49:47 -0000 Author: ache Date: Wed Nov 21 09:49:47 2012 New Revision: 307612 URL: http://svnweb.freebsd.org/changeset/ports/307612 Log: Update libswe to latest one witch should fix amd64 core dump in crc32 calculation (used for aspects, etc) Feature safe: yes Added: head/misc/astrolog/files/patch-src::sweodef.h (contents, props changed) Modified: head/misc/astrolog/Makefile (contents, props changed) head/misc/astrolog/distinfo (contents, props changed) head/misc/astrolog/files/patch-aa (contents, props changed) Modified: head/misc/astrolog/Makefile ============================================================================== --- head/misc/astrolog/Makefile Wed Nov 21 05:38:37 2012 (r307611) +++ head/misc/astrolog/Makefile Wed Nov 21 09:49:47 2012 (r307612) @@ -8,10 +8,13 @@ PORTNAME= astrolog PORTVERSION= 5.41g +PORTREVISION= 1 CATEGORIES= misc astro MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/ephe/archive_gzip/:ephe \ + ftp://ftp.astro.com/pub/swisseph/:libswe \ http://astrolog.offline.ee/astrolog/changed/:dist -DISTFILES= a541gsrc.tar.gz:dist ${EPHE} +DISTFILES= a541gsrc.tar.gz:dist ${EPHE} \ + swe_unix_src_1.78.00.tar.gz:libswe MAINTAINER= ports@FreeBSD.org COMMENT= An astrology program for X11 and alpha-numeric terminals @@ -41,6 +44,9 @@ NO_WRKSUBDIR= yes DOCS= helpfile.540 readme.541 changes.txt +post-extract: + ${RM} ${WRKDIR}/swe[a-z]* + do-install: -@${MKDIR} ${PREFIX}/lib/astrolog cd ${WRKDIR} && \ Modified: head/misc/astrolog/distinfo ============================================================================== --- head/misc/astrolog/distinfo Wed Nov 21 05:38:37 2012 (r307611) +++ head/misc/astrolog/distinfo Wed Nov 21 09:49:47 2012 (r307612) @@ -36,3 +36,5 @@ SHA256 (astrolog/swephm48.tar.gz) = 03da SIZE (astrolog/swephm48.tar.gz) = 1988548 SHA256 (astrolog/swephm54.tar.gz) = 500b2ed7940ee593c7c361270ee808a74ab3940c24656b2b84c92e8578322748 SIZE (astrolog/swephm54.tar.gz) = 2000428 +SHA256 (astrolog/swe_unix_src_1.78.00.tar.gz) = 69abd9a49d16693768d223a0acad484b8c5b9ca46d434c8942f5ea815ffd81ee +SIZE (astrolog/swe_unix_src_1.78.00.tar.gz) = 4517350 Modified: head/misc/astrolog/files/patch-aa ============================================================================== --- head/misc/astrolog/files/patch-aa Wed Nov 21 05:38:37 2012 (r307611) +++ head/misc/astrolog/files/patch-aa Wed Nov 21 09:49:47 2012 (r307612) @@ -1,16 +1,24 @@ --- makefile.orig 2002-04-27 22:48:52.000000000 +0400 -+++ makefile 2012-02-25 22:50:00.000000000 +0400 -@@ -28,9 +28,15 @@ ++++ makefile 2012-11-21 12:12:08.000000000 +0400 +@@ -17,6 +17,7 @@ + # edited, is compile each source file, and link them together with the math + # library, and if applicable, the main X library. + # ++.PATH: src + NAME = astrolog + OBJ = astrolog.o data.o data2.o general.o io.o\ + calc.o matrix.o charts0.o charts1.o charts2.o charts3.o\ +@@ -28,9 +29,15 @@ # LIBS = -lm -lX11 # with Debian Linux and X windows worked # LIBS = -lm -L/usr/X11R6/lib -lX11 -LIBS= -lm +.if defined(X11) +LIBS = -L${LOCALBASE}/lib -lX11 -lm -+CFLAGS += -DX11 -I${LOCALBASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\" ++CFLAGS += -Isrc -DX11 -I${LOCALBASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\" +.else +LIBS = -lm -+CFLAGS += -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\" ++CFLAGS += -Isrc -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\" +.endif # -CFLAGS = -O -DHPUX_SOURCE Added: head/misc/astrolog/files/patch-src::sweodef.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/astrolog/files/patch-src::sweodef.h Wed Nov 21 09:49:47 2012 (r307612) @@ -0,0 +1,17 @@ +--- src/sweodef.h.orig 2012-11-21 12:36:17.000000000 +0400 ++++ src/sweodef.h 2012-11-21 12:37:03.000000000 +0400 +@@ -197,10 +197,10 @@ + typedef unsigned int UINT2; /* unsigned 16 bits */ + # define ABS4 labs /* abs function for long */ + #else +- typedef int int32; +- typedef long long int64; +- typedef unsigned int uint32; +- typedef short int16; ++ typedef int32_t int32; ++ typedef int64_t int64; ++ typedef uint32_t uint32; ++ typedef int16_t int16; + typedef double REAL8; /* real with at least 64 bit precision */ + typedef int INT4; /* signed integer with at least 32 bit precision */ + typedef unsigned int UINT4;