Thu Mar 19 11:54:53 2009 UTC ()
update to 2.4.1
changes:
-Behavior of mpfr_check_range changed
-Function mpfr_init_gmp_rand is no longer defined
-New functions
-Configure test for TLS support
-Get default $CC and $CFLAGS from gmp.h
-Security fix in mpfr_snprintf and mpfr_vsnprintf (buffer overflow)
-Configure: new checks for length modifiers hh and ll (new in C99)
-bugfixes
-documentation fixes


(drochner)
diff -r1.11 -r1.12 pkgsrc/math/mpfr/Makefile
diff -r1.6 -r1.7 pkgsrc/math/mpfr/distinfo
diff -r1.4 -r1.5 pkgsrc/math/mpfr/patches/patch-aa
diff -r0 -r1.1 pkgsrc/math/mpfr/patches/patch-ab

cvs diff -r1.11 -r1.12 pkgsrc/math/mpfr/Makefile (expand / switch to unified diff)

--- pkgsrc/math/mpfr/Makefile 2008/08/17 07:59:13 1.11
+++ pkgsrc/math/mpfr/Makefile 2009/03/19 11:54:53 1.12
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile,v 1.11 2008/08/17 07:59:13 bjs Exp $ 1# $NetBSD: Makefile,v 1.12 2009/03/19 11:54:53 drochner Exp $
2# 2#
3 3
4DISTNAME= mpfr-2.3.1 4DISTNAME= mpfr-2.4.1
5CATEGORIES= math 5CATEGORIES= math
6MASTER_SITES= http://www.mpfr.org/mpfr-current/ 6MASTER_SITES= http://www.mpfr.org/mpfr-current/
7 7
 8DIST_SUBDIR= ${DISTNAME}
8PATCHFILES= patches 9PATCHFILES= patches
9PATCH_SITES= ${MASTER_SITES} 10PATCH_SITES= ${MASTER_SITES}
10PATCH_DIST_STRIP= -p1 11PATCH_DIST_STRIP= -p1
11 12
12MAINTAINER= rh@NetBSD.org 13MAINTAINER= rh@NetBSD.org
13HOMEPAGE= http://www.mpfr.org/ 14HOMEPAGE= http://www.mpfr.org/
14COMMENT= GMP-based library for multiple-precision floating-point computations 15COMMENT= GMP-based library for multiple-precision floating-point computations
15 16
16PKG_DESTDIR_SUPPORT= user-destdir 17PKG_DESTDIR_SUPPORT= user-destdir
17 18
18GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
19USE_LIBTOOL= yes 20USE_LIBTOOL= yes
20TEST_TARGET= check 21TEST_TARGET= check

cvs diff -r1.6 -r1.7 pkgsrc/math/mpfr/distinfo (expand / switch to unified diff)

--- pkgsrc/math/mpfr/distinfo 2008/08/17 07:59:13 1.6
+++ pkgsrc/math/mpfr/distinfo 2009/03/19 11:54:53 1.7
@@ -1,9 +1,10 @@ @@ -1,9 +1,10 @@
1$NetBSD: distinfo,v 1.6 2008/08/17 07:59:13 bjs Exp $ 1$NetBSD: distinfo,v 1.7 2009/03/19 11:54:53 drochner Exp $
2 2
3SHA1 (mpfr-2.3.1.tar.gz) = 87250db0470ba853cd8ad8a297285423339713e4 3SHA1 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = e9c46db8bfbfb9bcd6d623a2a3b1aa4fdc0b43ab
4RMD160 (mpfr-2.3.1.tar.gz) = a1dc3e985b06f2b9b843c4bbc3a318742c8a8292 4RMD160 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = c72db1cf8976a07ac4b9f5fa00a5221c963f04b4
5Size (mpfr-2.3.1.tar.gz) = 1176118 bytes 5Size (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = 1375528 bytes
6SHA1 (patches) = 3fe727c465ea76e2a2fc81ad470872d4c466343c 6SHA1 (mpfr-2.4.1/patches) = 23289ad26fd4b5853d267198eb93a618d8f27f6c
7RMD160 (patches) = ab6214e9177740552b5dfb543c5202b6d7c298da 7RMD160 (mpfr-2.4.1/patches) = d3cbc137f7899f343ecfd5a64f5f6dd47d3143a8
8Size (patches) = 8409 bytes 8Size (mpfr-2.4.1/patches) = 10044 bytes
9SHA1 (patch-aa) = 5eb0a9996c8c7af27df9081a4b675b47a15c096e 9SHA1 (patch-aa) = c86d768a642287fe6c4ef011f65aba7c59e089c0
 10SHA1 (patch-ab) = 46bcb0f03a9489904fdd4cc7720e12db100d8c87

cvs diff -r1.4 -r1.5 pkgsrc/math/mpfr/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/math/mpfr/patches/Attic/patch-aa 2007/09/18 20:15:58 1.4
+++ pkgsrc/math/mpfr/patches/Attic/patch-aa 2009/03/19 11:54:53 1.5
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-aa,v 1.4 2007/09/18 20:15:58 drochner Exp $ 1$NetBSD: patch-aa,v 1.5 2009/03/19 11:54:53 drochner Exp $
2 2
3--- mpfr.h.orig 2007-08-29 12:18:11.000000000 +0200 3--- mpfr.h.orig 2009-03-18 19:16:07.000000000 +0100
4+++ mpfr.h 4+++ mpfr.h
5@@ -23,6 +23,10 @@ MA 02110-1301, USA. */ 5@@ -23,6 +23,10 @@ MA 02110-1301, USA. */
6 #ifndef __MPFR_H 6 #ifndef __MPFR_H
7 #define __MPFR_H 7 #define __MPFR_H
8  8
9+#ifdef HAVE_STDINT_H 9+#ifdef HAVE_STDINT_H
10+#include <stdint.h> 10+#include <stdint.h>
11+#endif 11+#endif
12+ 12+
13 /* Define MPFR version number */ 13 /* Define MPFR version number */
14 #define MPFR_VERSION_MAJOR 2 14 #define MPFR_VERSION_MAJOR 2
15 #define MPFR_VERSION_MINOR 3 15 #define MPFR_VERSION_MINOR 4

File Added: pkgsrc/math/mpfr/patches/Attic/patch-ab
$NetBSD: patch-ab,v 1.1 2009/03/19 11:54:53 drochner Exp $

--- configure.orig	2009-03-18 19:19:49.000000000 +0100
+++ configure
@@ -24782,7 +24782,7 @@ $as_echo "$ac_try_echo") >&5
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 $as_echo "yes" >&6; }
 
-if test "$ac_cv_type_intmax_t" == yes; then
+if test "$ac_cv_type_intmax_t" = yes; then
 
 { $as_echo "$as_me:$LINENO: checking if gmp_printf supports \"%jd\"" >&5
 $as_echo_n "checking if gmp_printf supports \"%jd\"... " >&6; }