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 fixesdiff -r1.11 -r1.12 pkgsrc/math/mpfr/Makefile
(drochner)
@@ -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 | |||
4 | DISTNAME= mpfr-2.3.1 | 4 | DISTNAME= mpfr-2.4.1 | |
5 | CATEGORIES= math | 5 | CATEGORIES= math | |
6 | MASTER_SITES= http://www.mpfr.org/mpfr-current/ | 6 | MASTER_SITES= http://www.mpfr.org/mpfr-current/ | |
7 | 7 | |||
8 | DIST_SUBDIR= ${DISTNAME} | |||
8 | PATCHFILES= patches | 9 | PATCHFILES= patches | |
9 | PATCH_SITES= ${MASTER_SITES} | 10 | PATCH_SITES= ${MASTER_SITES} | |
10 | PATCH_DIST_STRIP= -p1 | 11 | PATCH_DIST_STRIP= -p1 | |
11 | 12 | |||
12 | MAINTAINER= rh@NetBSD.org | 13 | MAINTAINER= rh@NetBSD.org | |
13 | HOMEPAGE= http://www.mpfr.org/ | 14 | HOMEPAGE= http://www.mpfr.org/ | |
14 | COMMENT= GMP-based library for multiple-precision floating-point computations | 15 | COMMENT= GMP-based library for multiple-precision floating-point computations | |
15 | 16 | |||
16 | PKG_DESTDIR_SUPPORT= user-destdir | 17 | PKG_DESTDIR_SUPPORT= user-destdir | |
17 | 18 | |||
18 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes | |
19 | USE_LIBTOOL= yes | 20 | USE_LIBTOOL= yes | |
20 | TEST_TARGET= check | 21 | TEST_TARGET= check |
@@ -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 | |||
3 | SHA1 (mpfr-2.3.1.tar.gz) = 87250db0470ba853cd8ad8a297285423339713e4 | 3 | SHA1 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = e9c46db8bfbfb9bcd6d623a2a3b1aa4fdc0b43ab | |
4 | RMD160 (mpfr-2.3.1.tar.gz) = a1dc3e985b06f2b9b843c4bbc3a318742c8a8292 | 4 | RMD160 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = c72db1cf8976a07ac4b9f5fa00a5221c963f04b4 | |
5 | Size (mpfr-2.3.1.tar.gz) = 1176118 bytes | 5 | Size (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = 1375528 bytes | |
6 | SHA1 (patches) = 3fe727c465ea76e2a2fc81ad470872d4c466343c | 6 | SHA1 (mpfr-2.4.1/patches) = 23289ad26fd4b5853d267198eb93a618d8f27f6c | |
7 | RMD160 (patches) = ab6214e9177740552b5dfb543c5202b6d7c298da | 7 | RMD160 (mpfr-2.4.1/patches) = d3cbc137f7899f343ecfd5a64f5f6dd47d3143a8 | |
8 | Size (patches) = 8409 bytes | 8 | Size (mpfr-2.4.1/patches) = 10044 bytes | |
9 | SHA1 (patch-aa) = 5eb0a9996c8c7af27df9081a4b675b47a15c096e | 9 | SHA1 (patch-aa) = c86d768a642287fe6c4ef011f65aba7c59e089c0 | |
10 | SHA1 (patch-ab) = 46bcb0f03a9489904fdd4cc7720e12db100d8c87 |
@@ -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 |
$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; }