]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
mpfr: Update to version 4.2.2
authorAdolf Belka <adolf.belka@ipfire.org>
Fri, 21 Mar 2025 13:30:45 +0000 (14:30 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Mar 2025 15:07:44 +0000 (15:07 +0000)
- Update from version 4.2.1 to 4.2.2
- Update of rootfile
- Changelog
    4.2.2
- In order to resolve a portability issue with the _Float128 fallback to
  __float128 for binary128 support (e.g. with Clang and glibc 2.41), the
  prototypes of the corresponding conversion functions had to be changed,
  with _Float128 replaced by mpfr_float128, where mpfr_float128 is a macro
  defined as _Float128 by default. This changes neither the ABI nor the API
  (except that the end user of MPFR would need to define mpfr_float128 as
  the actual type for the binary128 format if this is not the standard
  _Float128 type).
- Other bug fixes (see <https://www.mpfr.org/mpfr-4.2.1/#fixed> and/or the
  ChangeLog file). In particular, the formatted output functions behaved
  incorrectly with %c on the value 0; such a use is uncommon, but this bug
  may have security implications.
- Improved MPFR manual.
- Detect the use of GMP's buggy vsnprintf replacement at configure time.
  With it, the tests of "%a" will be disabled to avoid an assertion failure
  in the MPFR testsuite. A warning will be displayed in the configure output
  in such a case.
Also, note that due to new tests related to the fix of the formatted
  output functions with %c on the value 0, failures in the tfprintf and
  tsprintf tests may be observed if GMP has been built with its vsnprintf
  replacement (i.e. if GMP detected at configure time that the vsnprintf
  function from the C library is buggy/non-conforming). This is due to a
  bug in the vsnprintf replacement from GMP 6.3.0 (official tarball) and
  below. This could be observed on MS Windows and OpenBSD. To get rid of
  these failures, either use a fixed version (recommended!) or build the
  MPFR tests with the MPFR_TESTS_SKIP_CHECK_NULL macro defined.
  See the INSTALL file for other details.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/mpfr
lfs/mpfr

index e3cf8d2da1fc6858a2e046fb0a1156598e3d4cda..1d55558a4aea242beb4b4f7bfd2930ea17dc470a 100644 (file)
@@ -4,7 +4,7 @@
 #usr/lib/libmpfr.la
 #usr/lib/libmpfr.so
 usr/lib/libmpfr.so.6
-usr/lib/libmpfr.so.6.2.1
+usr/lib/libmpfr.so.6.2.2
 #usr/lib/pkgconfig/mpfr.pc
 #usr/share/doc/mpfr
 #usr/share/doc/mpfr/AUTHORS
index 018bc39d7d6663bada620583e5f958f38881d78d..30f64d82de56d82be5b67365c95db21a3bb9fc66 100644 (file)
--- a/lfs/mpfr
+++ b/lfs/mpfr
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 4.2.1
+VER        = 4.2.2
 
 THISAPP    = mpfr-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = ad69f53bc910294647523e7613b18a683f1d0f3dd994168ab2a46b66d0371ffa9b8e7cb59495f898470aea69d343e83fc722f11babe4af7b3a12665a1e65860c
+$(DL_FILE)_BLAKE2 = 6bbf5658e70fbb673a3b65246a6bac708d1571aa6943c6742efd92f468ac71e6f0fe351b757f7133440ea312d9a5fc3549acd89d54f4d975c58bdc204d7b21ec
 
 install : $(TARGET)
 
@@ -70,7 +70,6 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-#      cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/mpfr-4.2.1-cumulative-patches-1-to-x.patch
        cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure \
                                        --prefix=/usr \
                                        --enable-thread-safe