From patchwork Sun Apr 5 12:03:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9609 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) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4fpWP31xfDz3wbG for ; Sun, 05 Apr 2026 12:05:11 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E7" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4fpWP26Mf5z5kL for ; Sun, 05 Apr 2026 12:05:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4fpWN80lrTz34CW for ; Sun, 05 Apr 2026 12:04:24 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4fpWMw1Nnqz34Zw for ; Sun, 05 Apr 2026 12:04:12 +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 4fpWMt463Bz6Zl; Sun, 05 Apr 2026 12:04:10 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1775390650; 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: in-reply-to:in-reply-to:references:references; bh=IhZmdHQUbSsTcYl76MOs3f/uoKahAgxffbzhcwB4KqU=; b=hRcQrx1eAbE7bYkMh4sdvIdnOcRZvmAX/V73B8Mii+P8QmZE8x/CTUCph/vsVQMT9izY+Q cYBNG+zBB3ZmUWDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1775390650; 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: in-reply-to:in-reply-to:references:references; bh=IhZmdHQUbSsTcYl76MOs3f/uoKahAgxffbzhcwB4KqU=; b=MdZUAN2Aoy/CC8j6pYkAXj7XUAevr65udadY5v6ky6TDOqSxYKHS2aapat8OXk5Wh91KRJ Ju0JuLatE1LqlzZgasPir+SG8hlvdg11B/gTBr3yWdFOlWZG0bqve7iPqLzEDwbczeBKIb /k1fqTX9bPhihyeUqaW+pKVl5aMxcBB4hZflTQpQ6D4LC3buw2e6amlz1ylFUJyw5WkWTF AK0YfHYJXLhL4OAjYyHe3/eAIMH3M40hP46kpwLunBS/k9IOMXOBuxdzi7ssLUe0z9qfna I5NdIfMirXh4v1gnmPCRcZb/7HvAGSZOrSZPc1fqiHlq2nbhvzgxIPXuG7albw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libmpc: Update to version 1.4.0 Date: Sun, 5 Apr 2026 14:03:53 +0200 Message-ID: <20260405120354.137211-36-adolf.belka@ipfire.org> In-Reply-To: <20260405120354.137211-1-adolf.belka@ipfire.org> References: <20260405120354.137211-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 1.3.1 to 1.4.0 - Update of rootfile - Changelog 1.4.0 - New functions: mpc_exp10, mpc_exp2, mpc_log2 - Bug fixes: - mpc_tan and mpc_tanh: Fix wrong values and slowness for large imaginary part. - mpc_pow: Agree on and implement the sign of the imaginary part when both inputs are real. - mpc_fr_div and mpc_ui_div: Treat the imaginary part of the dividend as an exact zero and not as +0, following the C2Y draft of the C standard. This changes the signs of zeroes in some results. - Generate the pkg-config file mpc.pc - Add support for non-standard complex types (_Dcomplex, _Lcomplex) under Windows Signed-off-by: Adolf Belka --- config/rootfiles/common/libmpc | 3 ++- lfs/libmpc | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/config/rootfiles/common/libmpc b/config/rootfiles/common/libmpc index 298a52a09..60e08c62d 100644 --- a/config/rootfiles/common/libmpc +++ b/config/rootfiles/common/libmpc @@ -3,5 +3,6 @@ #usr/lib/libmpc.la #usr/lib/libmpc.so usr/lib/libmpc.so.3 -usr/lib/libmpc.so.3.3.1 +usr/lib/libmpc.so.3.4.0 +#usr/lib/pkgconfig/mpc.pc #usr/share/info/mpc.info diff --git a/lfs/libmpc b/lfs/libmpc index 7c90e40f9..ffdf11ec4 100644 --- a/lfs/libmpc +++ b/lfs/libmpc @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2026 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,10 +24,10 @@ include Config -VER = 1.3.1 +VER = 1.4.0 THISAPP = mpc-$(VER) -DL_FILE = $(THISAPP).tar.gz +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 76434e6f8830af3571836d51576bfebbc9701e9bbb5c4686f134081cd96cd90ae02f7ff42bf9e3957c7a7ba92b6b2d9cdabe18f0269271147521cd7f6a2d551c +$(DL_FILE)_BLAKE2 = d00dbc52a92efd619498671475743c9f35797343c731542f881c04c4a0b198f5b36df51bfde3ce520866d1851958409a6dd0de02d85d7b2e0ba00ccb27a30464 install : $(TARGET) @@ -71,7 +71,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && ./configure \ + --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)