automatic version update by autodist [release 3.1.2.p11-1mamba;Fri Dec 19 2014]
This commit is contained in:
parent
6b880fac62
commit
3fddf6f213
@ -1575,3 +1575,52 @@ diff -Naurd mpfr-3.1.2-a/tests/tsprintf.c mpfr-3.1.2-b/tests/tsprintf.c
|
|||||||
|
|
||||||
#if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE)
|
#if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE)
|
||||||
locale_da_DK ();
|
locale_da_DK ();
|
||||||
|
diff -Naurd mpfr-3.1.2-a/PATCHES mpfr-3.1.2-b/PATCHES
|
||||||
|
--- mpfr-3.1.2-a/PATCHES 2014-12-04 01:41:57.131789485 +0000
|
||||||
|
+++ mpfr-3.1.2-b/PATCHES 2014-12-04 01:41:57.339791833 +0000
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+strtofr
|
||||||
|
diff -Naurd mpfr-3.1.2-a/VERSION mpfr-3.1.2-b/VERSION
|
||||||
|
--- mpfr-3.1.2-a/VERSION 2014-12-04 01:41:57.127789443 +0000
|
||||||
|
+++ mpfr-3.1.2-b/VERSION 2014-12-04 01:41:57.339791833 +0000
|
||||||
|
@@ -1 +1 @@
|
||||||
|
-3.1.2-p10
|
||||||
|
+3.1.2-p11
|
||||||
|
diff -Naurd mpfr-3.1.2-a/src/mpfr.h mpfr-3.1.2-b/src/mpfr.h
|
||||||
|
--- mpfr-3.1.2-a/src/mpfr.h 2014-12-04 01:41:57.127789443 +0000
|
||||||
|
+++ mpfr-3.1.2-b/src/mpfr.h 2014-12-04 01:41:57.335791790 +0000
|
||||||
|
@@ -27,7 +27,7 @@
|
||||||
|
#define MPFR_VERSION_MAJOR 3
|
||||||
|
#define MPFR_VERSION_MINOR 1
|
||||||
|
#define MPFR_VERSION_PATCHLEVEL 2
|
||||||
|
-#define MPFR_VERSION_STRING "3.1.2-p10"
|
||||||
|
+#define MPFR_VERSION_STRING "3.1.2-p11"
|
||||||
|
|
||||||
|
/* Macros dealing with MPFR VERSION */
|
||||||
|
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||||
|
diff -Naurd mpfr-3.1.2-a/src/strtofr.c mpfr-3.1.2-b/src/strtofr.c
|
||||||
|
--- mpfr-3.1.2-a/src/strtofr.c 2013-03-13 15:37:32.000000000 +0000
|
||||||
|
+++ mpfr-3.1.2-b/src/strtofr.c 2014-12-04 01:41:57.287791246 +0000
|
||||||
|
@@ -473,8 +473,10 @@
|
||||||
|
/* prec bits corresponds to ysize limbs */
|
||||||
|
ysize_bits = ysize * GMP_NUMB_BITS;
|
||||||
|
/* and to ysize_bits >= prec > MPFR_PREC (x) bits */
|
||||||
|
- y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 1);
|
||||||
|
- y += ysize; /* y has (ysize+1) allocated limbs */
|
||||||
|
+ /* we need to allocate one more limb to work around bug
|
||||||
|
+ https://gmplib.org/list-archives/gmp-bugs/2013-December/003267.html */
|
||||||
|
+ y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 2);
|
||||||
|
+ y += ysize; /* y has (ysize+2) allocated limbs */
|
||||||
|
|
||||||
|
/* pstr_size is the number of characters we read in pstr->mant
|
||||||
|
to have at least ysize full limbs.
|
||||||
|
diff -Naurd mpfr-3.1.2-a/src/version.c mpfr-3.1.2-b/src/version.c
|
||||||
|
--- mpfr-3.1.2-a/src/version.c 2014-12-04 01:41:57.131789485 +0000
|
||||||
|
+++ mpfr-3.1.2-b/src/version.c 2014-12-04 01:41:57.339791833 +0000
|
||||||
|
@@ -25,5 +25,5 @@
|
||||||
|
const char *
|
||||||
|
mpfr_get_version (void)
|
||||||
|
{
|
||||||
|
- return "3.1.2-p10";
|
||||||
|
+ return "3.1.2-p11";
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
%define pkgver %(echo %version | cut -d. -f1-3)
|
%define pkgver %(echo %version | cut -d. -f1-3)
|
||||||
Name: libmpfr
|
Name: libmpfr
|
||||||
Version: 3.1.2.p10
|
Version: 3.1.2.p11
|
||||||
Release: 3mamba
|
Release: 1mamba
|
||||||
Summary: A C library for multiple-precision floating-point computations with exact rounding
|
Summary: A C library for multiple-precision floating-point computations with exact rounding
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -81,6 +81,9 @@ exit 0
|
|||||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 19 2014 Automatic Build System <autodist@mambasoft.it> 3.1.2.p11-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Jul 27 2014 Automatic Build System <autodist@mambasoft.it> 3.1.2.p10-3mamba
|
* Sun Jul 27 2014 Automatic Build System <autodist@mambasoft.it> 3.1.2.p10-3mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user