From 9995a3e3c1c1b04d3ac5dae79c61621336112f65 Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 19 Mar 2009 11:54:53 +0000 Subject: 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 --- math/mpfr/Makefile | 5 +++-- math/mpfr/distinfo | 17 +++++++++-------- math/mpfr/patches/patch-aa | 6 +++--- math/mpfr/patches/patch-ab | 13 +++++++++++++ 4 files changed, 28 insertions(+), 13 deletions(-) create mode 100644 math/mpfr/patches/patch-ab diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile index 305872527ec..17fc6959493 100644 --- a/math/mpfr/Makefile +++ b/math/mpfr/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.11 2008/08/17 07:59:13 bjs Exp $ +# $NetBSD: Makefile,v 1.12 2009/03/19 11:54:53 drochner Exp $ # -DISTNAME= mpfr-2.3.1 +DISTNAME= mpfr-2.4.1 CATEGORIES= math MASTER_SITES= http://www.mpfr.org/mpfr-current/ +DIST_SUBDIR= ${DISTNAME} PATCHFILES= patches PATCH_SITES= ${MASTER_SITES} PATCH_DIST_STRIP= -p1 diff --git a/math/mpfr/distinfo b/math/mpfr/distinfo index 9e223c81901..e618c3a5299 100644 --- a/math/mpfr/distinfo +++ b/math/mpfr/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.6 2008/08/17 07:59:13 bjs Exp $ +$NetBSD: distinfo,v 1.7 2009/03/19 11:54:53 drochner Exp $ -SHA1 (mpfr-2.3.1.tar.gz) = 87250db0470ba853cd8ad8a297285423339713e4 -RMD160 (mpfr-2.3.1.tar.gz) = a1dc3e985b06f2b9b843c4bbc3a318742c8a8292 -Size (mpfr-2.3.1.tar.gz) = 1176118 bytes -SHA1 (patches) = 3fe727c465ea76e2a2fc81ad470872d4c466343c -RMD160 (patches) = ab6214e9177740552b5dfb543c5202b6d7c298da -Size (patches) = 8409 bytes -SHA1 (patch-aa) = 5eb0a9996c8c7af27df9081a4b675b47a15c096e +SHA1 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = e9c46db8bfbfb9bcd6d623a2a3b1aa4fdc0b43ab +RMD160 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = c72db1cf8976a07ac4b9f5fa00a5221c963f04b4 +Size (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = 1375528 bytes +SHA1 (mpfr-2.4.1/patches) = 23289ad26fd4b5853d267198eb93a618d8f27f6c +RMD160 (mpfr-2.4.1/patches) = d3cbc137f7899f343ecfd5a64f5f6dd47d3143a8 +Size (mpfr-2.4.1/patches) = 10044 bytes +SHA1 (patch-aa) = c86d768a642287fe6c4ef011f65aba7c59e089c0 +SHA1 (patch-ab) = 46bcb0f03a9489904fdd4cc7720e12db100d8c87 diff --git a/math/mpfr/patches/patch-aa b/math/mpfr/patches/patch-aa index 3c517c8085f..f334eb4162e 100644 --- a/math/mpfr/patches/patch-aa +++ b/math/mpfr/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.4 2007/09/18 20:15:58 drochner Exp $ +$NetBSD: patch-aa,v 1.5 2009/03/19 11:54:53 drochner Exp $ ---- mpfr.h.orig 2007-08-29 12:18:11.000000000 +0200 +--- mpfr.h.orig 2009-03-18 19:16:07.000000000 +0100 +++ mpfr.h @@ -23,6 +23,10 @@ MA 02110-1301, USA. */ #ifndef __MPFR_H @@ -12,4 +12,4 @@ $NetBSD: patch-aa,v 1.4 2007/09/18 20:15:58 drochner Exp $ + /* Define MPFR version number */ #define MPFR_VERSION_MAJOR 2 - #define MPFR_VERSION_MINOR 3 + #define MPFR_VERSION_MINOR 4 diff --git a/math/mpfr/patches/patch-ab b/math/mpfr/patches/patch-ab new file mode 100644 index 00000000000..38f039ce622 --- /dev/null +++ b/math/mpfr/patches/patch-ab @@ -0,0 +1,13 @@ +$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; } -- cgit v1.2.3