From owner-svn-ports-all@FreeBSD.ORG Wed Nov 21 10:30:28 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 299D674B; Wed, 21 Nov 2012 10:30:28 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 027B48FC14; Wed, 21 Nov 2012 10:30:26 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so4003663lbb.13 for ; Wed, 21 Nov 2012 02:30:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+UcGVCwK6qFF0phEAoGE+0IiAXf5Mb1hvK6b14Xa6MQ=; b=vBXAyfa63OUeGif1jDdFKzR/SyVx9b6y49OGp0qPb4VQAslTATebrd8oV2F5FVCcxF VsWdAYNTUbgg6oJm66KGI3UmOb4uAkT9bNqgWTQUPRs/+yhx7bcxrpxLRrhJ0JhFyYDE kjRe0p9JbttO3us2xlmr6gBqIbM7P5RnBpuAGssMiHJaGOetJ+Zjk/6hf425SdlQRec3 jgAfcnJAwAEUfdZY41Zy74rF4+ufoAEtfl+4SpPE40fMTc52wvTbds00ccamJVQMwWw8 gMS1ESJ7+qiGREPwi1JN18qjyMc91hqvLeugw/7WXu7+xICTpZPCE4+CUpxkCV7q4kwY CrRw== MIME-Version: 1.0 Received: by 10.152.106.4 with SMTP id gq4mr16973398lab.44.1353493825256; Wed, 21 Nov 2012 02:30:25 -0800 (PST) Received: by 10.112.131.232 with HTTP; Wed, 21 Nov 2012 02:30:24 -0800 (PST) Received: by 10.112.131.232 with HTTP; Wed, 21 Nov 2012 02:30:24 -0800 (PST) In-Reply-To: <201211210949.qAL9nl4a018306@svn.freebsd.org> References: <201211210949.qAL9nl4a018306@svn.freebsd.org> Date: Wed, 21 Nov 2012 10:30:24 +0000 Message-ID: Subject: Re: svn commit: r307612 - in head/misc/astrolog: . files From: Chris Rees To: "Andrey A. Chernov" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org 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 10:30:28 -0000 On 21 Nov 2012 09:49, "Andrey A. Chernov" wrote: > > 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) Please use - instead of :: in patch file names- colons render as slashes in Mac OS. Chris > 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; >