mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
mpfr: update upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7aa4be2b79
commit
0bcf197826
@ -318,3 +318,50 @@ diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
|
||||
- return "3.0.1-p2";
|
||||
+ return "3.0.1-p3";
|
||||
}
|
||||
diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
|
||||
--- mpfr-3.0.1-a/PATCHES 2011-05-09 14:48:24.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/PATCHES 2011-05-09 14:48:24.000000000 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+texp-zero
|
||||
diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
|
||||
--- mpfr-3.0.1-a/VERSION 2011-05-05 00:00:35.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/VERSION 2011-05-09 14:48:24.000000000 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.0.1-p3
|
||||
+3.0.1-p4
|
||||
diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
|
||||
--- mpfr-3.0.1-a/mpfr.h 2011-05-05 00:00:35.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/mpfr.h 2011-05-09 14:48:24.000000000 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 0
|
||||
#define MPFR_VERSION_PATCHLEVEL 1
|
||||
-#define MPFR_VERSION_STRING "3.0.1-p3"
|
||||
+#define MPFR_VERSION_STRING "3.0.1-p4"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.0.1-a/tests/texp.c mpfr-3.0.1-b/tests/texp.c
|
||||
--- mpfr-3.0.1-a/tests/texp.c 2011-04-04 10:19:17.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/tests/texp.c 2011-05-09 14:48:24.000000000 +0000
|
||||
@@ -170,7 +170,9 @@
|
||||
mpfr_set_prec (x, prec);
|
||||
mpfr_set_prec (y, prec);
|
||||
mpfr_set_prec (z, prec);
|
||||
- mpfr_urandomb (x, RANDS);
|
||||
+ do
|
||||
+ mpfr_urandomb (x, RANDS);
|
||||
+ while (MPFR_IS_ZERO (x)); /* 0 is handled by mpfr_exp only */
|
||||
rnd = RND_RAND ();
|
||||
mpfr_exp_2 (y, x, rnd);
|
||||
mpfr_exp_3 (z, x, rnd);
|
||||
diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
|
||||
--- mpfr-3.0.1-a/version.c 2011-05-05 00:00:35.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/version.c 2011-05-09 14:48:24.000000000 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.0.1-p3";
|
||||
+ return "3.0.1-p4";
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user