mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
mpfr: Update to version 4.1.1 with patch 1
- Update from version 4.1.0 with patch set 1 to 13 to 4.1.1 with aptch set 1 to 1
- Update of rootfile
- Changelog
Changes from version 4.1.0 to version 4.1.1:
- Bug fixes (see <https://www.mpfr.org/mpfr-4.1.0/#fixed> and/or the
ChangeLog file), in particular for macros implementing functions.
- Improved manual formatting.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
9f39e8c13e
commit
5e1db85c4f
@@ -4,7 +4,7 @@
|
|||||||
#usr/lib/libmpfr.la
|
#usr/lib/libmpfr.la
|
||||||
#usr/lib/libmpfr.so
|
#usr/lib/libmpfr.so
|
||||||
usr/lib/libmpfr.so.6
|
usr/lib/libmpfr.so.6
|
||||||
usr/lib/libmpfr.so.6.1.0
|
usr/lib/libmpfr.so.6.1.1
|
||||||
#usr/lib/pkgconfig/mpfr.pc
|
#usr/lib/pkgconfig/mpfr.pc
|
||||||
#usr/share/doc/mpfr
|
#usr/share/doc/mpfr
|
||||||
#usr/share/doc/mpfr/AUTHORS
|
#usr/share/doc/mpfr/AUTHORS
|
||||||
|
|||||||
8
lfs/mpfr
8
lfs/mpfr
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# IPFire.org - A linux based firewall #
|
||||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
# Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> #
|
||||||
# #
|
# #
|
||||||
# This program is free software: you can redistribute it and/or modify #
|
# This program is free software: you can redistribute it and/or modify #
|
||||||
# it under the terms of the GNU General Public License as published by #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 4.1.0
|
VER = 4.1.1
|
||||||
|
|
||||||
THISAPP = mpfr-$(VER)
|
THISAPP = mpfr-$(VER)
|
||||||
DL_FILE = $(THISAPP).tar.xz
|
DL_FILE = $(THISAPP).tar.xz
|
||||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_BLAKE2 = 41d1be0c4b557760f12a4525ad3a84b6e2cd6f0927c935fcfba577ac0490e582d1ae4b581dce58e21e705cf9d7c88373054d7fb7a94bb32c69b339f99a25dc68
|
$(DL_FILE)_BLAKE2 = ce20baee2f060acb28b877ffe6fc40c5619cf6af231bd54ca6cfb3e42ef2d74a4ffbab96cf0b5dd6a162e558099a54701d42f34f5bf2256f256fe6f5ae2505d0
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ $(subst %,%_BLAKE2,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/mpfr-4.1.0-cumulative-patches-1-to-13.patch
|
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/mpfr-4.1.1-cumulative-patches-1-to-1.patch
|
||||||
cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
|
cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
|
||||||
--enable-thread-safe
|
--enable-thread-safe
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
83
src/patches/mpfr-4.1.1-cumulative-patches-1-to-1.patch
Normal file
83
src/patches/mpfr-4.1.1-cumulative-patches-1-to-1.patch
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
diff -Naurd mpfr-4.1.1-a/PATCHES mpfr-4.1.1-b/PATCHES
|
||||||
|
--- mpfr-4.1.1-a/PATCHES 2022-11-23 11:45:26.800476079 +0000
|
||||||
|
+++ mpfr-4.1.1-b/PATCHES 2022-11-23 11:45:26.844475966 +0000
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+mpfr_custom_get_kind
|
||||||
|
diff -Naurd mpfr-4.1.1-a/VERSION mpfr-4.1.1-b/VERSION
|
||||||
|
--- mpfr-4.1.1-a/VERSION 2022-11-17 13:28:44.000000000 +0000
|
||||||
|
+++ mpfr-4.1.1-b/VERSION 2022-11-23 11:45:26.844475966 +0000
|
||||||
|
@@ -1 +1 @@
|
||||||
|
-4.1.1
|
||||||
|
+4.1.1-p1
|
||||||
|
diff -Naurd mpfr-4.1.1-a/src/mpfr.h mpfr-4.1.1-b/src/mpfr.h
|
||||||
|
--- mpfr-4.1.1-a/src/mpfr.h 2022-11-17 13:28:44.000000000 +0000
|
||||||
|
+++ mpfr-4.1.1-b/src/mpfr.h 2022-11-23 11:45:26.840475978 +0000
|
||||||
|
@@ -27,7 +27,7 @@
|
||||||
|
#define MPFR_VERSION_MAJOR 4
|
||||||
|
#define MPFR_VERSION_MINOR 1
|
||||||
|
#define MPFR_VERSION_PATCHLEVEL 1
|
||||||
|
-#define MPFR_VERSION_STRING "4.1.1"
|
||||||
|
+#define MPFR_VERSION_STRING "4.1.1-p1"
|
||||||
|
|
||||||
|
/* User macros:
|
||||||
|
MPFR_USE_FILE: Define it to make MPFR define functions dealing
|
||||||
|
@@ -1027,7 +1027,7 @@
|
||||||
|
#if __GNUC__ > 2 || __GNUC_MINOR__ >= 95
|
||||||
|
#define mpfr_custom_get_kind(x) \
|
||||||
|
__extension__ ({ \
|
||||||
|
- mpfr_ptr _x = (x); \
|
||||||
|
+ mpfr_srcptr _x = (x); \
|
||||||
|
_x->_mpfr_exp > __MPFR_EXP_INF ? \
|
||||||
|
(mpfr_int) MPFR_REGULAR_KIND * MPFR_SIGN (_x) \
|
||||||
|
: _x->_mpfr_exp == __MPFR_EXP_INF ? \
|
||||||
|
diff -Naurd mpfr-4.1.1-a/src/version.c mpfr-4.1.1-b/src/version.c
|
||||||
|
--- mpfr-4.1.1-a/src/version.c 2022-11-17 13:28:44.000000000 +0000
|
||||||
|
+++ mpfr-4.1.1-b/src/version.c 2022-11-23 11:45:26.844475966 +0000
|
||||||
|
@@ -25,5 +25,5 @@
|
||||||
|
const char *
|
||||||
|
mpfr_get_version (void)
|
||||||
|
{
|
||||||
|
- return "4.1.1";
|
||||||
|
+ return "4.1.1-p1";
|
||||||
|
}
|
||||||
|
diff -Naurd mpfr-4.1.1-a/tests/tstckintc.c mpfr-4.1.1-b/tests/tstckintc.c
|
||||||
|
--- mpfr-4.1.1-a/tests/tstckintc.c 2022-05-06 13:47:17.000000000 +0000
|
||||||
|
+++ mpfr-4.1.1-b/tests/tstckintc.c 2022-11-23 11:45:26.836475987 +0000
|
||||||
|
@@ -295,14 +295,16 @@
|
||||||
|
test_nan_inf_zero (void)
|
||||||
|
{
|
||||||
|
mpfr_ptr val;
|
||||||
|
+ mpfr_srcptr sval; /* for compilation error checking */
|
||||||
|
int sign;
|
||||||
|
int kind;
|
||||||
|
|
||||||
|
reset_stack ();
|
||||||
|
|
||||||
|
val = new_mpfr (MPFR_PREC_MIN);
|
||||||
|
+ sval = val;
|
||||||
|
mpfr_set_nan (val);
|
||||||
|
- kind = (mpfr_custom_get_kind) (val);
|
||||||
|
+ kind = (mpfr_custom_get_kind) (sval);
|
||||||
|
if (kind != MPFR_NAN_KIND)
|
||||||
|
{
|
||||||
|
printf ("mpfr_custom_get_kind error: ");
|
||||||
|
@@ -380,7 +382,8 @@
|
||||||
|
dummy_set_si (long si)
|
||||||
|
{
|
||||||
|
mpfr_t x;
|
||||||
|
- long * r = dummy_new ();
|
||||||
|
+ mpfr_srcptr px; /* for compilation error checking */
|
||||||
|
+ long *r = dummy_new ();
|
||||||
|
int i1, i2, i3, i4, i5;
|
||||||
|
|
||||||
|
/* Check that the type "void *" can be used, like with the function.
|
||||||
|
@@ -405,7 +408,8 @@
|
||||||
|
MPFR_ASSERTN (i5 == 1);
|
||||||
|
|
||||||
|
mpfr_set_si (x, si, MPFR_RNDN);
|
||||||
|
- r[0] = mpfr_custom_get_kind (x);
|
||||||
|
+ px = x;
|
||||||
|
+ r[0] = mpfr_custom_get_kind (px);
|
||||||
|
|
||||||
|
/* Check that the type "void *" can be used in C, like with the function
|
||||||
|
(forbidden in C++). Also check side effects. */
|
||||||
Reference in New Issue
Block a user