From patchwork Fri Mar 21 13:30:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8545 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4ZK3HK3bZbz3xKW for ; Fri, 21 Mar 2025 13:30:53 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4ZK3HJ6TwLz7lr for ; Fri, 21 Mar 2025 13:30:52 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4ZK3HJ5njyz3329 for ; Fri, 21 Mar 2025 13:30:52 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZK3HF5Wdtz32mP for ; Fri, 21 Mar 2025 13:30:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4ZK3HD6VBKzkt; Fri, 21 Mar 2025 13:30:48 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1742563849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=9jbIAwxbGhSk6hCkhjMnKN6W5mGM9U2QlpEbLZ3j/lM=; b=w54DpVS4DHEbkIIWnaHHcciP8uYMW0j7irmBrDeAiDvDlINdfG0SgPYfY1z+TMhiciSSXM 3ajoMtdJ+PZZXKDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1742563849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=9jbIAwxbGhSk6hCkhjMnKN6W5mGM9U2QlpEbLZ3j/lM=; b=lRWALpfOIl8ERXrHWMK0X6l2Yd4ZiGXFLuobWq3Rb9d5SU2sY+mQq6CR4V0Z0T8xFvvwUp mORVxppjGR4ZeDZmQ3RO4novdrJ6+kpm3Cg0SMWGZaWmy22gsroYK780aXUe338omru25H N898tfbNljmg8492/WlO4VZdS1oXJn32IhABqasSaVDUVcKAdro/Yuq6EiZT2KuT43ecGs BR0vpnHXsxYEnAs63/UjgjGSQDWwXIov7WpErlZCP4/S+2SXNCZ/YHx3tQpQZ+FyRN5v0O 8VI1M9TMXVcdEylRJbvJwlQsz+cBw2zHECWZoeyIBDOMq2cQfrqeH1EzhQK7LQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] mpfr: Update to version 4.2.2 Date: Fri, 21 Mar 2025 14:30:45 +0100 Message-ID: <20250321133045.3267597-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - 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 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 --- config/rootfiles/common/mpfr | 2 +- lfs/mpfr | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/config/rootfiles/common/mpfr b/config/rootfiles/common/mpfr index e3cf8d2da..1d55558a4 100644 --- a/config/rootfiles/common/mpfr +++ b/config/rootfiles/common/mpfr @@ -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 diff --git a/lfs/mpfr b/lfs/mpfr index 018bc39d7..30f64d82d 100644 --- a/lfs/mpfr +++ b/lfs/mpfr @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # 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