pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/mpfr Update to 3.1.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb1ac931c5ff
branches:  trunk
changeset: 602891:fb1ac931c5ff
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 22 15:13:26 2012 +0000

description:
Update to 3.1.0:

Changes from versions 3.0.* to version 3.1.0:
- The "canard à l'orange" release.
- The MPFR source has been reorganized.
- Dropped ansi2knr support.
- TLS support is now detected automatically. If TLS is supported, MPFR is
  built as thread safe by default. To disable TLS explicitly, configure
  MPFR with --disable-thread-safe.
- New --enable-gmp-internals configure option to use GMP's undocumented
  functions (not from the public API). Note that library versioning is
  not guaranteed to work if this option is used.
- The mpfr_urandom and mpfr_urandomb functions now return identical values
  on processors with different word size (assuming the same random seed, and
  since the GMP random generator does not depend itself on the word size,
  cf http://gmplib.org/list-archives/gmp-devel/2010-September/001642.html).
- The mpfr_add_one_ulp and mpfr_sub_one_ulp macros (which are obsolete and
  no more documented) will be removed in a future release.
- Speed improvement for the mpfr_sqr and mpfr_div functions using Mulders'
  algorithm. As a consequence, other functions using those routines are
  also faster.
- Much faster formatted output (mpfr_printf, etc.) with %Rg and similar.
- The --with-gmp-build configure option can now be used when the GMP
  source directory and the GMP build directory are different (without
  having to copy header files manually as before).
- New functions mpfr_buildopt_gmpinternals_p, mpfr_buildopt_tune_case,
  mpfr_frexp, mpfr_grandom and mpfr_z_sub.
- New divide-by-zero exception (flag) and associated functions.
- The mpfr.h header can be included several times, while still supporting
  optional functions (see Section "Headers and Libraries" in the manual).
- Updated tuning parameters.
- Improved MPFR manual.
- MPFR tests: libtool no longer generates wrapper scripts with "make check"
  (so that running the tests under valgrind or gdb is easier).
- Bug fixes.
  Note: The mpfr_subnormalize implementation up to MPFR 3.0.0 did not change
  the flags. In particular, it did not follow the generic rule concerning
  the inexact flag (and no special behavior was specified). The case of the
  underflow flag was more a lack of specification.

NetBSD-6.99.4/amd64:
All 160 tests passed
(1 test was not run)

diffstat:

 math/mpfr/Makefile   |  25 +++++++++----------------
 math/mpfr/distinfo   |  17 ++++-------------
 math/mpfr/inplace.mk |   3 +--
 3 files changed, 14 insertions(+), 31 deletions(-)

diffs (79 lines):

diff -r 1c68dea0677e -r fb1ac931c5ff math/mpfr/Makefile
--- a/math/mpfr/Makefile        Sun Apr 22 15:07:05 2012 +0000
+++ b/math/mpfr/Makefile        Sun Apr 22 15:13:26 2012 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.19 2011/05/08 21:06:51 asau Exp $
+# $NetBSD: Makefile,v 1.20 2012/04/22 15:13:26 wiz Exp $
 #
 
-DISTNAME=              mpfr-3.0.1
-PKGNAME=               ${DISTNAME}.3   # append patch level
+DISTNAME=              mpfr-3.1.0
+#PKGNAME=              ${DISTNAME}.3   # append patch level
 CATEGORIES=            math
-MASTER_SITES=          http://www.mpfr.org/mpfr-3.0.1/
+MASTER_SITES=          http://www.mpfr.org/mpfr-3.1.0/
+EXTRACT_SUFX=          .tar.xz
 
-DIST_SUBDIR=           ${DISTNAME}
-
-PATCH_SITES=           ${MASTER_SITES}
-PATCHFILES=            patch01 patch02 patch03
-PATCH_DIST_STRIP=      -p1
+#DIST_SUBDIR=          ${DISTNAME}
+#PATCH_SITES=          ${MASTER_SITES}
+#PATCHFILES=           patch01 patch02 patch03
+#PATCH_DIST_STRIP=     -p1
 
 MAINTAINER=            rh%NetBSD.org@localhost
 HOMEPAGE=              http://www.mpfr.org/
@@ -23,13 +23,6 @@
 USE_LIBTOOL=           yes
 TEST_TARGET=           check
 INFO_FILES=            yes
-###
-### XXX These definitions are defined here merely to keep configure from
-###    needlessly whining about them.
-###
-###
-MAKE_ENV+=             AUTOCONF=${TRUE}
-MAKE_ENV+=             AUTOMAKE=${TRUE}
 
 .include "../../devel/gmp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1c68dea0677e -r fb1ac931c5ff math/mpfr/distinfo
--- a/math/mpfr/distinfo        Sun Apr 22 15:07:05 2012 +0000
+++ b/math/mpfr/distinfo        Sun Apr 22 15:13:26 2012 +0000
@@ -1,14 +1,5 @@
-$NetBSD: distinfo,v 1.12 2011/05/08 21:06:51 asau Exp $
+$NetBSD: distinfo,v 1.13 2012/04/22 15:13:26 wiz Exp $
 
-SHA1 (mpfr-3.0.1/mpfr-3.0.1.tar.gz) = caa0609934c0d2ffa29bd11bfa9c05fbade130eb
-RMD160 (mpfr-3.0.1/mpfr-3.0.1.tar.gz) = cff7306c13e5a858d9188450ecf0e4efcfbfcce8
-Size (mpfr-3.0.1/mpfr-3.0.1.tar.gz) = 1478243 bytes
-SHA1 (mpfr-3.0.1/patch01) = 88bffb4c5588072e1e56f026b092a873e46a4bfc
-RMD160 (mpfr-3.0.1/patch01) = 0e4d56846156369de6ce3cd3984cb060cbd3720a
-Size (mpfr-3.0.1/patch01) = 3899 bytes
-SHA1 (mpfr-3.0.1/patch02) = 3a4d9617e15d1fc3ecbf5f8f945dc5e6e76abdb7
-RMD160 (mpfr-3.0.1/patch02) = 2ad3e67f5626d1ef5735121b6d5baf0a7bb4e892
-Size (mpfr-3.0.1/patch02) = 3282 bytes
-SHA1 (mpfr-3.0.1/patch03) = 60c98873696c897e406e1106e62cff02d320d1d0
-RMD160 (mpfr-3.0.1/patch03) = df4b3c54f9ef6beaa35a88198edf9c80f35e8e41
-Size (mpfr-3.0.1/patch03) = 3347 bytes
+SHA1 (mpfr-3.1.0.tar.xz) = fae7d5b1e607c9208f0076d6931ff44dc169e143
+RMD160 (mpfr-3.1.0.tar.xz) = 21bf56fce66a0e3851da069806683061d290c7ab
+Size (mpfr-3.1.0.tar.xz) = 1083128 bytes
diff -r 1c68dea0677e -r fb1ac931c5ff math/mpfr/inplace.mk
--- a/math/mpfr/inplace.mk      Sun Apr 22 15:07:05 2012 +0000
+++ b/math/mpfr/inplace.mk      Sun Apr 22 15:13:26 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: inplace.mk,v 1.1 2012/04/13 11:00:14 hans Exp $
+# $NetBSD: inplace.mk,v 1.2 2012/04/22 15:13:26 wiz Exp $
 #
 # Include this file to extract math/mpfr source into the WRKSRC of
 # another package. This is to be used by GCC packages to avoid the
@@ -10,4 +10,3 @@
        (cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \
                WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES fetch patch clean)
        ${MV} ${WRKSRC}/mpfr-* ${WRKSRC}/mpfr
-



Home | Main Index | Thread Index | Old Index