From 89e1c0067373e88f93f3b0a28d46593c66a471d4 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 16 Aug 2009 13:42:33 +0000 Subject: Update to 4.3.1. Add gnu-gpl-v3 to LICENSE, since README claims it also affects some files. Changes between GMP version 4.3.0 and 4.3.1 Bugs: * Fixed bug in mpn_gcdext, affecting also mpz_gcdext and mpz_invert. The bug could cause a cofactor to have a leading zero limb, which could lead to crashes or miscomputation later on. * Fixed some minor documentation issues. Features: * Workarounds for various issues with Mac OS X's build tools. * Recognise more IBM "POWER" processor variants. Changes between GMP version 4.2.X and 4.3.0 Bugs: * Fixed bug in mpz_perfect_power_p with recognition of negative perfect powers that can be written both as an even and odd power. * We might accidentally have added bugs since there is a large amount of new code in this release. Speedups: * Vastly improved assembly code for x86-64 processors from AMD and Intel. * Major improvements also for many other processor families, such as Alpha, PowerPC, and Itanium. * New sub-quadratic mpn_gcd and mpn_gcdext, as well as improved basecase gcd code. * The multiply FFT code has been slightly improved. * Balanced multiplication now uses 4-way Toom in addition to schoolbook, Karatsuba, 3-way Toom, and FFT. * Unbalanced multiplication has been vastly improved. * Improved schoolbook division by means of faster quotient approximation. * Several new algorithms for division and mod by single limbs, giving many-fold speedups. * Improved nth root computations. * The mpz_nextprime function uses sieving and is much faster. * Countless minor tweaks. Features: * Updated support for fat binaries for x86_32 include current processors * Lots of new mpn internal interfaces. Some of them will become public in a future GMP release. * Support for the 32-bit ABI under x86-apple-darwin. * x86 CPU recognition code should now default better for future processors. * The experimental nails feature does not work in this release, but it might be re-enabled in the future. Misc: * The gmp_version variable now always contains three parts. For this release, it is "4.3.0". --- devel/gmp/Makefile | 12 +++--------- devel/gmp/distinfo | 14 ++++---------- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile index bd753975c01..9f9bdfaa7fb 100644 --- a/devel/gmp/Makefile +++ b/devel/gmp/Makefile @@ -1,20 +1,14 @@ -# $NetBSD: Makefile,v 1.56 2009/05/19 08:59:09 wiz Exp $ +# $NetBSD: Makefile,v 1.57 2009/08/16 13:42:33 wiz Exp $ -DISTNAME= gmp-4.2.4 -PKGREVISION= 1 +DISTNAME= gmp-4.3.1 CATEGORIES= devel math MASTER_SITES= ${MASTER_SITE_GNU:=gmp/} EXTRACT_SUFX= .tar.bz2 -PATCHFILES= mpf_set_str.c.4.diff -PATCHFILES+= mpf_eq.diff -PATCH_SITES+= http://www.gmplib.org/patches/ -PATCH_DIST_STRIP= -p0 - MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gmplib.org/ COMMENT= Library for arbitrary precision arithmetic -LICENSE= gnu-lgpl-v3 +LICENSE= gnu-lgpl-v3 AND gnu-gpl-v3 PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews diff --git a/devel/gmp/distinfo b/devel/gmp/distinfo index ede23432c3c..9afacad41aa 100644 --- a/devel/gmp/distinfo +++ b/devel/gmp/distinfo @@ -1,14 +1,8 @@ -$NetBSD: distinfo,v 1.27 2008/11/21 13:12:12 jmcneill Exp $ +$NetBSD: distinfo,v 1.28 2009/08/16 13:42:33 wiz Exp $ -SHA1 (gmp-4.2.4.tar.bz2) = bb721f94fbeeb8c609104540b408da6707c370ec -RMD160 (gmp-4.2.4.tar.bz2) = 15c6c40c377088a3bcf9d432bcc27c777991cb12 -Size (gmp-4.2.4.tar.bz2) = 1710660 bytes -SHA1 (mpf_eq.diff) = 5fe6dd4dba6574baf3db8f3d2a16fbd73dc295e1 -RMD160 (mpf_eq.diff) = 52036e74d5d118db1fd0ad844ba871249fdbaefc -Size (mpf_eq.diff) = 9252 bytes -SHA1 (mpf_set_str.c.4.diff) = b14fc8b7644183e021406f05b5e168589d9acd1d -RMD160 (mpf_set_str.c.4.diff) = 03015e15518bdd5887d09f8b3fb12f9c8d2b4beb -Size (mpf_set_str.c.4.diff) = 860 bytes +SHA1 (gmp-4.3.1.tar.bz2) = acbd1edc61230b1457e9742136994110e4f381b2 +RMD160 (gmp-4.3.1.tar.bz2) = f325d809dde1f87816eea3697bcfe00f3ec8f10d +Size (gmp-4.3.1.tar.bz2) = 1881090 bytes SHA1 (patch-aa) = a53db34c8ecf38d6556a59a0fa7382456c30fab6 SHA1 (patch-ab) = e768eca25c117871041d12a618e38d9d252f25e5 SHA1 (patch-ac) = 9c7e6817632596bfd6c86a30e3b2d7f78fccd5ff -- cgit v1.2.3