summaryrefslogtreecommitdiff
path: root/math/mpfr
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-08-24 08:20:14 +0000
committerwiz <wiz@pkgsrc.org>2020-08-24 08:20:14 +0000
commit918a63fae5a58275899a9aaba34048b6729de97c (patch)
tree64b8853bf07779f675eb801708486cdc0abea26d /math/mpfr
parent9954d570934454e5e8b00c11ef6aea0a35dd4c05 (diff)
downloadpkgsrc-918a63fae5a58275899a9aaba34048b6729de97c.tar.gz
mpfr: update to 4.1.0.
Changes from versions 4.0.* to version 4.1.0: - The "épinards à la crème" release. - Binary compatible with MPFR 4.0.*, though some minor changes in the behavior of the formatted output functions may be visible, regarded as underspecified behavior or bug fixes (see below). - New --enable-formally-proven-code configure option, to use (when available) formally proven code. - Improved __GMP_CC and __GMP_CFLAGS retrieval (in particular for MS Windows). - Option -pedantic is now always removed from __GMP_CFLAGS (see INSTALL). - Changed __float128 to the type _Float128 specified in ISO/IEC TS 18661. __float128 is used as a fallback if _Float128 is not supported. - New function mpfr_get_str_ndigits about conversion to a string of digits. - New function mpfr_dot for the dot product (incomplete, experimental). - New functions mpfr_get_decimal128 and mpfr_set_decimal128 (available only when MPFR has been built with decimal float support). - New function mpfr_cmpabs_ui. - New function mpfr_total_order_p for the IEEE 754 totalOrder predicate. - The mpfr_out_str function now accepts bases from -2 to -36, in order to follow mpfr_get_str and GMP's mpf_out_str functions (these cases gave an assertion failure, as with other invalid bases). - Shared caches: cleanup; really detect lock failures (abort in this case). - The behavior of the formatted output functions (mpfr_printf, etc.) with an empty precision field has improved: trailing zeros are kept in a way similar to the formatted output functions from C. - Improved mpfr_add and mpfr_sub when all operands have a precision equal to twice the number of bits per word, e.g., 128 bits on a 64-bit platform. - Optimized the tuning parameters for various architectures. - Improved test coverage to 98.6% of code for x86_64. - Bug fixes. - MPFR manual: corrected/completed the mpfr_get_str description in order to follow the historical behavior and GMP's mpf_get_str function. - New: optional "make check-exported-symbols", mainly for the MPFR developers and binary distributions, to check that MPFR does not define symbols with a GMP reserved prefix (experimental). - Mini-gmp support: replaced --enable-mini-gmp configure option by --with-mini-gmp (still experimental, read doc/mini-gmp). - A GCC bug on Sparc (present at least in old GCC 4.5.3 and 5.5.0 versions), which made several tests fail when TLS was enabled, is now avoided in the tests. The MPFR library itself was not affected and normal code using the MPFR library should not be affected either. Users and distributions that disabled TLS just because of the test failures can safely re-enable it.
Diffstat (limited to 'math/mpfr')
-rw-r--r--math/mpfr/Makefile5
-rw-r--r--math/mpfr/PLIST3
-rw-r--r--math/mpfr/builtin.mk14
-rw-r--r--math/mpfr/distinfo10
4 files changed, 16 insertions, 16 deletions
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
index 9e3755e1605..b7476bec43f 100644
--- a/math/mpfr/Makefile
+++ b/math/mpfr/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2020/01/26 17:31:38 rillig Exp $
+# $NetBSD: Makefile,v 1.44 2020/08/24 08:20:14 wiz Exp $
-DISTNAME= mpfr-4.0.2
-PKGREVISION= 1
+DISTNAME= mpfr-4.1.0
CATEGORIES= math
MASTER_SITES= http://www.mpfr.org/${DISTNAME}/
EXTRACT_SUFX= .tar.bz2
diff --git a/math/mpfr/PLIST b/math/mpfr/PLIST
index 78c9778f19c..4d81749839c 100644
--- a/math/mpfr/PLIST
+++ b/math/mpfr/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/01/28 16:18:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/08/24 08:20:14 wiz Exp $
include/mpf2mpfr.h
include/mpfr.h
info/mpfr.info
@@ -16,4 +16,5 @@ share/doc/mpfr/examples/can_round.c
share/doc/mpfr/examples/divworst.c
share/doc/mpfr/examples/rndo-add.c
share/doc/mpfr/examples/sample.c
+share/doc/mpfr/examples/threads.c
share/doc/mpfr/examples/version.c
diff --git a/math/mpfr/builtin.mk b/math/mpfr/builtin.mk
index 93b83a16c21..720f0b29044 100644
--- a/math/mpfr/builtin.mk
+++ b/math/mpfr/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.5 2019/11/02 16:16:20 rillig Exp $
+# $NetBSD: builtin.mk,v 1.6 2020/08/24 08:20:14 wiz Exp $
BUILTIN_PKG:= mpfr
@@ -6,9 +6,9 @@ BUILTIN_FIND_HEADERS_VAR:= H_MPFR
BUILTIN_FIND_HEADERS.H_MPFR= mpfr.h mpfr/mpfr.h
BUILTIN_VERSION_SCRIPT.mpfr= ${AWK} \
- '/\#define[ \t]*MPFR_VERSION_STRING[ \t]/ { \
- v = substr($$3, 2, length($$3)-2) } \
- END { gsub("-p",".",v); print v }'
+ '/\#define[ \t]*MPFR_VERSION_STRING[ \t]/ { \
+ v = substr($$3, 2, length($$3)-2) } \
+ END { gsub("-p",".",v); print v }'
.include "../../mk/buildlink3/bsd.builtin.mk"
@@ -50,11 +50,11 @@ USE_BUILTIN.mpfr= yes
. for _dep_ in ${BUILDLINK_API_DEPENDS.mpfr}
. if !empty(USE_BUILTIN.mpfr:M[yY][eE][sS])
USE_BUILTIN.mpfr!= \
- if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.mpfr:Q}; then \
+ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.mpfr:Q}; then \
${ECHO} yes; \
- else \
+ else \
${ECHO} no; \
- fi
+ fi
. endif
. endfor
. endif
diff --git a/math/mpfr/distinfo b/math/mpfr/distinfo
index b69bd6bb253..b2950b8d2f1 100644
--- a/math/mpfr/distinfo
+++ b/math/mpfr/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.28 2019/02/13 22:26:50 wiz Exp $
+$NetBSD: distinfo,v 1.29 2020/08/24 08:20:14 wiz Exp $
-SHA1 (mpfr-4.0.2.tar.bz2) = d6a313a3b1ceb9ff3be71cd18e45468837b7fd53
-RMD160 (mpfr-4.0.2.tar.bz2) = c418fb74617c3dc01802c3798c284077af209cf6
-SHA512 (mpfr-4.0.2.tar.bz2) = 18bb3a87123d02b7537bc298d41bdbb33e58b8c196cc4040578e3b470e86c6c89e1bd8ab8b3919d106fe5b86922ef8999dc1aba7c521ee90a69f690be288a30d
-Size (mpfr-4.0.2.tar.bz2) = 1652074 bytes
+SHA1 (mpfr-4.1.0.tar.bz2) = 877d35a8a81a4d2d9446252e9b4ae944754d8ceb
+RMD160 (mpfr-4.1.0.tar.bz2) = 7a6d028b63c864566f62d47a58521e00a2890c28
+SHA512 (mpfr-4.1.0.tar.bz2) = 410208ee0d48474c1c10d3d4a59decd2dfa187064183b09358ec4c4666e34d74383128436b404123b831e585d81a9176b24c7ced9d913967c5fce35d4040a0b4
+Size (mpfr-4.1.0.tar.bz2) = 1747243 bytes