]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
libmpc: Update to version 1.4.0
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 5 Apr 2026 12:03:53 +0000 (14:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Apr 2026 12:59:49 +0000 (12:59 +0000)
- 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 <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/libmpc
lfs/libmpc

index 298a52a093e7c95c19f12e155332ae5531108cf9..60e08c62db186c9c64f786bd5d4dd298fb10d2c0 100644 (file)
@@ -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
index 7c90e40f920ffcada67fdf3c84bd20c543b2ae86..ffdf11ec432dc892eb25e9250941895ea1a63100 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  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        #
 
 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)