summaryrefslogtreecommitdiff
path: root/math/mpfr
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2012-09-13 17:51:01 +0000
committerasau <asau@pkgsrc.org>2012-09-13 17:51:01 +0000
commitb4c787d140dcf69cc75a8e60e9e4cef4491dbd46 (patch)
tree2574fec4ab984ee6a1ecfbea16a0712731e79b66 /math/mpfr
parentb33d738d2ef571c6a55a563d0c4593064e3e38a5 (diff)
downloadpkgsrc-b4c787d140dcf69cc75a8e60e9e4cef4491dbd46.tar.gz
Update to MPFR 3.1.1p2
1. The mpfr_get_decimal64 function (available only when MPFR has been configured with --enable-decimal-float) has several bugs, fixed by the get_decimal64 patch, which also provides testcases. It corresponds to the following changesets in the 3.1 branch: 8373, 8378, 8380. 2. The ternary value returned by the mpfr_strtofr function can be wrong under particular conditions (example). This is fixed by the strtofr-ternary-value patch, which also provides testcases. It corresponds to the following changeset in the 3.1 branch: 8399.
Diffstat (limited to 'math/mpfr')
-rw-r--r--math/mpfr/Makefile12
-rw-r--r--math/mpfr/distinfo8
2 files changed, 13 insertions, 7 deletions
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
index 08dd269c3a3..81bb0f20c1c 100644
--- a/math/mpfr/Makefile
+++ b/math/mpfr/Makefile
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.24 2012/09/11 23:04:24 asau Exp $
+# $NetBSD: Makefile,v 1.25 2012/09/13 17:51:01 asau Exp $
#
DISTNAME= mpfr-3.1.1
-#PKGNAME= ${DISTNAME}.3 # append patch level
+PKGNAME= ${DISTNAME}p2 # append patch level
CATEGORIES= math
MASTER_SITES= http://www.mpfr.org/mpfr-3.1.1/
EXTRACT_SUFX= .tar.bz2
DIST_SUBDIR= ${DISTNAME}
-#PATCH_SITES= ${MASTER_SITES}
-#PATCHFILES= patch01 patch02 patch03
-#PATCH_DIST_STRIP= -p1
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= patch01 patch02
+PATCH_DIST_STRIP= -p1
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.mpfr.org/
@@ -19,7 +19,7 @@ LICENSE= gnu-lgpl-v3
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-TEST_TARGET= check
+TEST_TARGET= check # needs the package installed
INFO_FILES= yes
.include "../../devel/gmp/buildlink3.mk"
diff --git a/math/mpfr/distinfo b/math/mpfr/distinfo
index b9302213e0b..d80d27f7573 100644
--- a/math/mpfr/distinfo
+++ b/math/mpfr/distinfo
@@ -1,5 +1,11 @@
-$NetBSD: distinfo,v 1.16 2012/08/01 19:29:26 drochner Exp $
+$NetBSD: distinfo,v 1.17 2012/09/13 17:51:01 asau Exp $
SHA1 (mpfr-3.1.1/mpfr-3.1.1.tar.bz2) = f632d43943ff9f13c184fa13b9a6e8c7f420f4dd
RMD160 (mpfr-3.1.1/mpfr-3.1.1.tar.bz2) = 9b083c109a9ebd00afdb1fb88dd6aa779d78a881
Size (mpfr-3.1.1/mpfr-3.1.1.tar.bz2) = 1218825 bytes
+SHA1 (mpfr-3.1.1/patch01) = 36839d1ce4952d96cf403528d5eba72df66c745b
+RMD160 (mpfr-3.1.1/patch01) = 85434fe0b6e038cfc442192644924923ee0b646b
+Size (mpfr-3.1.1/patch01) = 7535 bytes
+SHA1 (mpfr-3.1.1/patch02) = 83f65bf904d187449879b0ccf04a5dbea8422b3b
+RMD160 (mpfr-3.1.1/patch02) = 47646390186d9d76bad7b1f799c2dfa94501627e
+Size (mpfr-3.1.1/patch02) = 5460 bytes