From 3dc2f3294d2122613471cb10da7b623fe527506d Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 5 Aug 2012 18:24:56 +0000 Subject: math/mpcomplex: Update from version 0.9 to 1.0 Changes since version 0.9: - First release as a GNU package - License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections) for documentation - 100% of all lines are covered by tests - Functions renamed: mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui - 0^0, which returned (NaN,NaN) previously, now returns (1,+0) - Removed compatibility with K&R compilers, untestable due to lack of such compilers - New functions: mpc_log10, mpc_mul_2si, mpc_div_2si - Speed-ups: - mpc_fma - Bug fixes: - mpc_div and mpc_norm now return a value indicating the effective rounding direction, as the other functions - mpc_mul, mpc_sqr and mpc_norm now return correct results even if there are over- or underflows during the computation - mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has infinite part and equals output variable is corrected - mpc_fr_sub: Wrong return value for imaginary part is corrected --- math/mpcomplex/Makefile | 8 ++++---- math/mpcomplex/distinfo | 10 +++++----- math/mpcomplex/patches/patch-src_get.c | 12 +++++++----- 3 files changed, 16 insertions(+), 14 deletions(-) (limited to 'math') diff --git a/math/mpcomplex/Makefile b/math/mpcomplex/Makefile index 069bad18fbe..78a338e9017 100644 --- a/math/mpcomplex/Makefile +++ b/math/mpcomplex/Makefile @@ -1,14 +1,14 @@ -# $NetBSD: Makefile,v 1.3 2011/09/14 17:14:09 hans Exp $ +# $NetBSD: Makefile,v 1.4 2012/08/05 18:24:56 marino Exp $ -DISTNAME= mpc-0.9 -PKGNAME= mpcomplex-0.9 +DISTNAME= mpc-1.0 +PKGNAME= mpcomplex-1.0 CATEGORIES= math MASTER_SITES= http://www.multiprecision.org/mpc/download/ MAINTAINER= MarkoSchuetz@web.de HOMEPAGE= http://www.multiprecision.org/mpc/ COMMENT= Multiprecision complex arithmetic library -LICENSE= gnu-lgpl-v2.1 +LICENSE= gnu-lgpl-v3 PKG_DESTDIR_SUPPORT= user-destdir diff --git a/math/mpcomplex/distinfo b/math/mpcomplex/distinfo index 55bfda5f284..1fafc778272 100644 --- a/math/mpcomplex/distinfo +++ b/math/mpcomplex/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2011/10/13 13:22:46 hans Exp $ +$NetBSD: distinfo,v 1.4 2012/08/05 18:24:56 marino Exp $ -SHA1 (mpc-0.9.tar.gz) = 229722d553030734d49731844abfef7617b64f1a -RMD160 (mpc-0.9.tar.gz) = 63d5fb8ab2725839e7565716c4d20187b606e2c8 -Size (mpc-0.9.tar.gz) = 565953 bytes -SHA1 (patch-src_get.c) = 439d4bb0dc8714b111787d21f8f14b8da5588fcd +SHA1 (mpc-1.0.tar.gz) = 20af7cc481433c019285a2c1757ac65e244e1e06 +RMD160 (mpc-1.0.tar.gz) = 9880676913b99537099617da7955028ccf99c878 +Size (mpc-1.0.tar.gz) = 628311 bytes +SHA1 (patch-src_get.c) = 25495981765971c031b5a92dce098a44e53413c8 diff --git a/math/mpcomplex/patches/patch-src_get.c b/math/mpcomplex/patches/patch-src_get.c index 2e80dabd669..71547cd3d4a 100644 --- a/math/mpcomplex/patches/patch-src_get.c +++ b/math/mpcomplex/patches/patch-src_get.c @@ -1,11 +1,13 @@ -$NetBSD: patch-src_get.c,v 1.1 2011/10/13 13:22:46 hans Exp $ +$NetBSD: patch-src_get.c,v 1.2 2012/08/05 18:24:56 marino Exp $ ---- src/get.c.orig 2011-01-26 09:47:17.000000000 +0100 -+++ src/get.c 2011-10-13 01:09:15.618498023 +0200 -@@ -28,6 +28,13 @@ MA 02111-1307, USA. */ +Work around bug in SunOS complex.h to make this build with Sun's gcc + +--- src/get_x.c.orig 2011-11-04 18:20:19.000000000 +0000 ++++ src/get_x.c +@@ -35,6 +35,13 @@ along with this program. If not, see htt #include "mpc-impl.h" - #if defined _MPC_H_HAVE_COMPLEX + #ifdef HAVE_COMPLEX_H + +#if defined(__sun) && defined(__GNUC__) && defined(_Imaginary_I) +#undef I -- cgit v1.2.3