From 18204a931b096ad06e5ea20fdedeb3e7eb655bc8 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 19 May 2023 16:42:36 +0000 Subject: Fri May 19 16:42:36 UTC 2023 a/exfatprogs-1.2.1-x86_64-1.txz: Upgraded. d/cmake-3.26.4-x86_64-1.txz: Upgraded. l/gst-plugins-bad-free-1.22.3-x86_64-1.txz: Upgraded. l/gst-plugins-base-1.22.3-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.22.3-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.22.3-x86_64-1.txz: Upgraded. l/gstreamer-1.22.3-x86_64-1.txz: Upgraded. l/libuv-1.45.0-x86_64-1.txz: Upgraded. l/mpfr-4.2.0p09-x86_64-1.txz: Upgraded. --- ChangeLog.rss | 23 +- ChangeLog.txt | 11 + FILELIST.TXT | 148 +++--- recompress.sh | 2 + source/d/cmake/cmake.url | 2 +- source/l/gst-plugins-bad-free/fetch-sources.sh | 2 +- source/l/mpfr/patches/patch08 | 636 +++++++++++++++++++++++++ source/l/mpfr/patches/patch09 | 105 ++++ 8 files changed, 852 insertions(+), 77 deletions(-) create mode 100644 source/l/mpfr/patches/patch08 create mode 100644 source/l/mpfr/patches/patch09 diff --git a/ChangeLog.rss b/ChangeLog.rss index 8db28919c..a4c2a49f1 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,28 @@ Tracking Slackware development in git. en-us urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f - Thu, 18 May 2023 15:19:38 GMT - Thu, 18 May 2023 16:33:29 GMT + Fri, 19 May 2023 16:42:36 GMT + Fri, 19 May 2023 17:35:42 GMT maintain_current_git.sh v 1.17 + + Fri, 19 May 2023 16:42:36 GMT + Fri, 19 May 2023 16:42:36 GMT + https://git.slackware.nl/current/tag/?h=20230519164236 + 20230519164236 + + +a/exfatprogs-1.2.1-x86_64-1.txz: Upgraded. +d/cmake-3.26.4-x86_64-1.txz: Upgraded. +l/gst-plugins-bad-free-1.22.3-x86_64-1.txz: Upgraded. +l/gst-plugins-base-1.22.3-x86_64-1.txz: Upgraded. +l/gst-plugins-good-1.22.3-x86_64-1.txz: Upgraded. +l/gst-plugins-libav-1.22.3-x86_64-1.txz: Upgraded. +l/gstreamer-1.22.3-x86_64-1.txz: Upgraded. +l/libuv-1.45.0-x86_64-1.txz: Upgraded. +l/mpfr-4.2.0p09-x86_64-1.txz: Upgraded. + ]]> + + Thu, 18 May 2023 15:19:38 GMT Thu, 18 May 2023 15:19:38 GMT diff --git a/ChangeLog.txt b/ChangeLog.txt index 5c5d0ddd6..2a2888ec4 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,14 @@ +Fri May 19 16:42:36 UTC 2023 +a/exfatprogs-1.2.1-x86_64-1.txz: Upgraded. +d/cmake-3.26.4-x86_64-1.txz: Upgraded. +l/gst-plugins-bad-free-1.22.3-x86_64-1.txz: Upgraded. +l/gst-plugins-base-1.22.3-x86_64-1.txz: Upgraded. +l/gst-plugins-good-1.22.3-x86_64-1.txz: Upgraded. +l/gst-plugins-libav-1.22.3-x86_64-1.txz: Upgraded. +l/gstreamer-1.22.3-x86_64-1.txz: Upgraded. +l/libuv-1.45.0-x86_64-1.txz: Upgraded. +l/mpfr-4.2.0p09-x86_64-1.txz: Upgraded. ++--------------------------+ Thu May 18 15:19:38 UTC 2023 a/elogind-252.9-x86_64-1.txz: Upgraded. x/mesa-23.1.0-x86_64-1.txz: Upgraded. diff --git a/FILELIST.TXT b/FILELIST.TXT index 6f11e379b..63a27adac 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Thu May 18 15:22:55 UTC 2023 +Fri May 19 16:45:53 UTC 2023 Here is the file list for this directory. If you are using a mirror site and find missing or extra files in the disk subdirectories, please have the archive administrator refresh the mirror. -drwxr-xr-x 12 root root 4096 2023-05-18 15:19 . +drwxr-xr-x 12 root root 4096 2023-05-19 16:42 . -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 16617 2022-02-02 23:27 ./CHANGES_AND_HINTS.TXT --rw-r--r-- 1 root root 1115887 2023-05-17 21:08 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2023-05-17 21:08 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1115780 2023-05-18 15:23 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2023-05-18 15:23 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3 -rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT -rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT --rw-r--r-- 1 root root 638325 2023-05-18 15:19 ./ChangeLog.txt +-rw-r--r-- 1 root root 638801 2023-05-19 16:42 ./ChangeLog.txt drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI drwxr-xr-x 2 root root 4096 2023-05-17 20:59 ./EFI/BOOT -rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi @@ -25,9 +25,9 @@ drwxr-xr-x 2 root root 4096 2023-05-17 20:59 ./EFI/BOOT -rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh -rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg -rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg --rw-r--r-- 1 root root 1455210 2023-05-17 21:08 ./FILELIST.TXT +-rw-r--r-- 1 root root 1455089 2023-05-18 15:22 ./FILELIST.TXT -rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY --rw-r--r-- 1 root root 872193 2023-05-18 15:22 ./PACKAGES.TXT +-rw-r--r-- 1 root root 872193 2023-05-19 16:45 ./PACKAGES.TXT -rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT -rw-r--r-- 1 root root 3629 2023-05-17 20:24 ./README.initrd -rw-r--r-- 1 root root 34162 2022-01-30 20:35 ./README_CRYPT.TXT @@ -687,13 +687,13 @@ drwxr-xr-x 2 root root 4096 2022-02-03 07:02 ./patches -rw-r--r-- 1 root root 575 2022-02-03 07:02 ./patches/FILE_LIST -rw-r--r-- 1 root root 14 2022-02-03 07:02 ./patches/MANIFEST.bz2 -rw-r--r-- 1 root root 224 2022-02-03 07:02 ./patches/PACKAGES.TXT -drwxr-xr-x 17 root root 4096 2023-05-18 15:22 ./slackware64 --rw-r--r-- 1 root root 340403 2023-05-18 15:22 ./slackware64/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2023-05-18 15:22 ./slackware64/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 422009 2023-05-18 15:21 ./slackware64/FILE_LIST --rw-r--r-- 1 root root 4301189 2023-05-18 15:21 ./slackware64/MANIFEST.bz2 +drwxr-xr-x 17 root root 4096 2023-05-19 16:45 ./slackware64 +-rw-r--r-- 1 root root 340403 2023-05-19 16:45 ./slackware64/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2023-05-19 16:45 ./slackware64/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 422009 2023-05-19 16:44 ./slackware64/FILE_LIST +-rw-r--r-- 1 root root 4299644 2023-05-19 16:44 ./slackware64/MANIFEST.bz2 lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT -drwxr-xr-x 2 root root 32768 2023-05-18 15:21 ./slackware64/a +drwxr-xr-x 2 root root 32768 2023-05-19 16:44 ./slackware64/a -rw-r--r-- 1 root root 327 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txt -rw-r--r-- 1 root root 10720 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txz -rw-r--r-- 1 root root 163 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txz.asc @@ -784,9 +784,9 @@ drwxr-xr-x 2 root root 32768 2023-05-18 15:21 ./slackware64/a -rw-r--r-- 1 root root 510 2023-05-17 18:01 ./slackware64/a/eudev-3.2.12-x86_64-2.txt -rw-r--r-- 1 root root 1222216 2023-05-17 18:01 ./slackware64/a/eudev-3.2.12-x86_64-2.txz -rw-r--r-- 1 root root 163 2023-05-17 18:01 ./slackware64/a/eudev-3.2.12-x86_64-2.txz.asc --rw-r--r-- 1 root root 456 2022-11-04 18:06 ./slackware64/a/exfatprogs-1.2.0-x86_64-1.txt --rw-r--r-- 1 root root 59556 2022-11-04 18:06 ./slackware64/a/exfatprogs-1.2.0-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-11-04 18:06 ./slackware64/a/exfatprogs-1.2.0-x86_64-1.txz.asc +-rw-r--r-- 1 root root 456 2023-05-19 15:42 ./slackware64/a/exfatprogs-1.2.1-x86_64-1.txt +-rw-r--r-- 1 root root 60068 2023-05-19 15:42 ./slackware64/a/exfatprogs-1.2.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:42 ./slackware64/a/exfatprogs-1.2.1-x86_64-1.txz.asc -rw-r--r-- 1 root root 541 2023-04-12 19:02 ./slackware64/a/f2fs-tools-1.16.0-x86_64-1.txt -rw-r--r-- 1 root root 207684 2023-04-12 19:02 ./slackware64/a/f2fs-tools-1.16.0-x86_64-1.txz -rw-r--r-- 1 root root 163 2023-04-12 19:02 ./slackware64/a/f2fs-tools-1.16.0-x86_64-1.txz.asc @@ -1335,7 +1335,7 @@ drwxr-xr-x 2 root root 20480 2023-05-16 19:16 ./slackware64/ap -rw-r--r-- 1 root root 506 2022-05-15 17:09 ./slackware64/ap/zsh-5.9-x86_64-1.txt -rw-r--r-- 1 root root 3156392 2022-05-15 17:09 ./slackware64/ap/zsh-5.9-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-05-15 17:09 ./slackware64/ap/zsh-5.9-x86_64-1.txz.asc -drwxr-xr-x 2 root root 20480 2023-05-17 21:07 ./slackware64/d +drwxr-xr-x 2 root root 20480 2023-05-19 16:44 ./slackware64/d -rw-r--r-- 1 root root 360 2022-03-09 03:58 ./slackware64/d/Cython-0.29.28-x86_64-1.txt -rw-r--r-- 1 root root 2393012 2022-03-09 03:58 ./slackware64/d/Cython-0.29.28-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-03-09 03:58 ./slackware64/d/Cython-0.29.28-x86_64-1.txz.asc @@ -1369,9 +1369,9 @@ drwxr-xr-x 2 root root 20480 2023-05-17 21:07 ./slackware64/d -rw-r--r-- 1 root root 663 2022-10-19 18:35 ./slackware64/d/clisp-2.50_20220927_acb1266ee-x86_64-1.txt -rw-r--r-- 1 root root 3137024 2022-10-19 18:35 ./slackware64/d/clisp-2.50_20220927_acb1266ee-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-10-19 18:35 ./slackware64/d/clisp-2.50_20220927_acb1266ee-x86_64-1.txz.asc --rw-r--r-- 1 root root 379 2023-04-05 17:19 ./slackware64/d/cmake-3.26.3-x86_64-1.txt --rw-r--r-- 1 root root 8777224 2023-04-05 17:19 ./slackware64/d/cmake-3.26.3-x86_64-1.txz --rw-r--r-- 1 root root 163 2023-04-05 17:19 ./slackware64/d/cmake-3.26.3-x86_64-1.txz.asc +-rw-r--r-- 1 root root 379 2023-05-19 15:36 ./slackware64/d/cmake-3.26.4-x86_64-1.txt +-rw-r--r-- 1 root root 8774752 2023-05-19 15:36 ./slackware64/d/cmake-3.26.4-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:36 ./slackware64/d/cmake-3.26.4-x86_64-1.txz.asc -rw-r--r-- 1 root root 332 2021-02-13 09:13 ./slackware64/d/cscope-15.9-x86_64-3.txt -rw-r--r-- 1 root root 143136 2021-02-13 09:13 ./slackware64/d/cscope-15.9-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-02-13 09:13 ./slackware64/d/cscope-15.9-x86_64-3.txz.asc @@ -2748,7 +2748,7 @@ drwxr-xr-x 2 root root 86016 2023-05-17 21:07 ./slackware64/kde -rw-r--r-- 1 root root 403 2023-04-20 20:52 ./slackware64/kde/zxing-cpp-2.0.0-x86_64-1.txt -rw-r--r-- 1 root root 713544 2023-04-20 20:52 ./slackware64/kde/zxing-cpp-2.0.0-x86_64-1.txz -rw-r--r-- 1 root root 163 2023-04-20 20:52 ./slackware64/kde/zxing-cpp-2.0.0-x86_64-1.txz.asc -drwxr-xr-x 2 root root 86016 2023-05-17 21:07 ./slackware64/l +drwxr-xr-x 2 root root 86016 2023-05-19 16:44 ./slackware64/l -rw-r--r-- 1 root root 329 2022-03-06 20:00 ./slackware64/l/GConf-3.2.6-x86_64-8.txt -rw-r--r-- 1 root root 928144 2022-03-06 20:00 ./slackware64/l/GConf-3.2.6-x86_64-8.txz -rw-r--r-- 1 root root 163 2022-03-06 20:00 ./slackware64/l/GConf-3.2.6-x86_64-8.txz.asc @@ -3049,21 +3049,21 @@ drwxr-xr-x 2 root root 86016 2023-05-17 21:07 ./slackware64/l -rw-r--r-- 1 root root 414 2022-05-18 18:21 ./slackware64/l/gsl-2.7.1-x86_64-1.txt -rw-r--r-- 1 root root 1603776 2022-05-18 18:21 ./slackware64/l/gsl-2.7.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-05-18 18:21 ./slackware64/l/gsl-2.7.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 689 2023-04-12 18:30 ./slackware64/l/gst-plugins-bad-free-1.22.2-x86_64-1.txt --rw-r--r-- 1 root root 3309872 2023-04-12 18:30 ./slackware64/l/gst-plugins-bad-free-1.22.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2023-04-12 18:30 ./slackware64/l/gst-plugins-bad-free-1.22.2-x86_64-1.txz.asc --rw-r--r-- 1 root root 607 2023-04-12 18:28 ./slackware64/l/gst-plugins-base-1.22.2-x86_64-1.txt --rw-r--r-- 1 root root 2432272 2023-04-12 18:28 ./slackware64/l/gst-plugins-base-1.22.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2023-04-12 18:28 ./slackware64/l/gst-plugins-base-1.22.2-x86_64-1.txz.asc --rw-r--r-- 1 root root 444 2023-04-12 18:28 ./slackware64/l/gst-plugins-good-1.22.2-x86_64-1.txt --rw-r--r-- 1 root root 2164180 2023-04-12 18:28 ./slackware64/l/gst-plugins-good-1.22.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2023-04-12 18:28 ./slackware64/l/gst-plugins-good-1.22.2-x86_64-1.txz.asc --rw-r--r-- 1 root root 472 2023-04-12 18:30 ./slackware64/l/gst-plugins-libav-1.22.2-x86_64-1.txt --rw-r--r-- 1 root root 127608 2023-04-12 18:30 ./slackware64/l/gst-plugins-libav-1.22.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2023-04-12 18:30 ./slackware64/l/gst-plugins-libav-1.22.2-x86_64-1.txz.asc --rw-r--r-- 1 root root 602 2023-04-12 18:26 ./slackware64/l/gstreamer-1.22.2-x86_64-1.txt --rw-r--r-- 1 root root 1774424 2023-04-12 18:26 ./slackware64/l/gstreamer-1.22.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2023-04-12 18:26 ./slackware64/l/gstreamer-1.22.2-x86_64-1.txz.asc +-rw-r--r-- 1 root root 689 2023-05-19 15:47 ./slackware64/l/gst-plugins-bad-free-1.22.3-x86_64-1.txt +-rw-r--r-- 1 root root 3317676 2023-05-19 15:47 ./slackware64/l/gst-plugins-bad-free-1.22.3-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:47 ./slackware64/l/gst-plugins-bad-free-1.22.3-x86_64-1.txz.asc +-rw-r--r-- 1 root root 607 2023-05-19 15:45 ./slackware64/l/gst-plugins-base-1.22.3-x86_64-1.txt +-rw-r--r-- 1 root root 2440696 2023-05-19 15:45 ./slackware64/l/gst-plugins-base-1.22.3-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:45 ./slackware64/l/gst-plugins-base-1.22.3-x86_64-1.txz.asc +-rw-r--r-- 1 root root 444 2023-05-19 15:45 ./slackware64/l/gst-plugins-good-1.22.3-x86_64-1.txt +-rw-r--r-- 1 root root 2167040 2023-05-19 15:45 ./slackware64/l/gst-plugins-good-1.22.3-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:45 ./slackware64/l/gst-plugins-good-1.22.3-x86_64-1.txz.asc +-rw-r--r-- 1 root root 472 2023-05-19 15:46 ./slackware64/l/gst-plugins-libav-1.22.3-x86_64-1.txt +-rw-r--r-- 1 root root 129056 2023-05-19 15:46 ./slackware64/l/gst-plugins-libav-1.22.3-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:46 ./slackware64/l/gst-plugins-libav-1.22.3-x86_64-1.txz.asc +-rw-r--r-- 1 root root 602 2023-05-19 15:44 ./slackware64/l/gstreamer-1.22.3-x86_64-1.txt +-rw-r--r-- 1 root root 1776864 2023-05-19 15:44 ./slackware64/l/gstreamer-1.22.3-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:44 ./slackware64/l/gstreamer-1.22.3-x86_64-1.txz.asc -rw-r--r-- 1 root root 351 2021-02-13 06:41 ./slackware64/l/gtk+-1.2.10-x86_64-9.txt -rw-r--r-- 1 root root 810820 2021-02-13 06:41 ./slackware64/l/gtk+-1.2.10-x86_64-9.txz -rw-r--r-- 1 root root 163 2021-02-13 06:41 ./slackware64/l/gtk+-1.2.10-x86_64-9.txz.asc @@ -3462,9 +3462,9 @@ drwxr-xr-x 2 root root 86016 2023-05-17 21:07 ./slackware64/l -rw-r--r-- 1 root root 321 2021-02-13 07:16 ./slackware64/l/libusbmuxd-20200615_c7d7d1a-x86_64-3.txt -rw-r--r-- 1 root root 41784 2021-02-13 07:16 ./slackware64/l/libusbmuxd-20200615_c7d7d1a-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-02-13 07:16 ./slackware64/l/libusbmuxd-20200615_c7d7d1a-x86_64-3.txz.asc --rw-r--r-- 1 root root 214 2022-07-13 16:41 ./slackware64/l/libuv-1.44.2-x86_64-1.txt --rw-r--r-- 1 root root 116736 2022-07-13 16:41 ./slackware64/l/libuv-1.44.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-07-13 16:41 ./slackware64/l/libuv-1.44.2-x86_64-1.txz.asc +-rw-r--r-- 1 root root 214 2023-05-19 15:47 ./slackware64/l/libuv-1.45.0-x86_64-1.txt +-rw-r--r-- 1 root root 120688 2023-05-19 15:47 ./slackware64/l/libuv-1.45.0-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:47 ./slackware64/l/libuv-1.45.0-x86_64-1.txz.asc -rw-r--r-- 1 root root 316 2023-04-14 19:44 ./slackware64/l/libvisio-0.1.7-x86_64-11.txt -rw-r--r-- 1 root root 632640 2023-04-14 19:44 ./slackware64/l/libvisio-0.1.7-x86_64-11.txz -rw-r--r-- 1 root root 163 2023-04-14 19:44 ./slackware64/l/libvisio-0.1.7-x86_64-11.txz.asc @@ -3551,9 +3551,9 @@ drwxr-xr-x 2 root root 86016 2023-05-17 21:07 ./slackware64/l -rw-r--r-- 1 root root 410 2023-05-10 05:40 ./slackware64/l/mozjs102-102.11.0esr-x86_64-1.txt -rw-r--r-- 1 root root 5356684 2023-05-10 05:40 ./slackware64/l/mozjs102-102.11.0esr-x86_64-1.txz -rw-r--r-- 1 root root 163 2023-05-10 05:40 ./slackware64/l/mozjs102-102.11.0esr-x86_64-1.txz.asc --rw-r--r-- 1 root root 586 2023-05-14 15:39 ./slackware64/l/mpfr-4.2.0p07-x86_64-1.txt --rw-r--r-- 1 root root 426464 2023-05-14 15:39 ./slackware64/l/mpfr-4.2.0p07-x86_64-1.txz --rw-r--r-- 1 root root 163 2023-05-14 15:39 ./slackware64/l/mpfr-4.2.0p07-x86_64-1.txz.asc +-rw-r--r-- 1 root root 586 2023-05-19 15:49 ./slackware64/l/mpfr-4.2.0p09-x86_64-1.txt +-rw-r--r-- 1 root root 427604 2023-05-19 15:49 ./slackware64/l/mpfr-4.2.0p09-x86_64-1.txz +-rw-r--r-- 1 root root 163 2023-05-19 15:49 ./slackware64/l/mpfr-4.2.0p09-x86_64-1.txz.asc -rw-r--r-- 1 root root 493 2023-01-09 19:18 ./slackware64/l/ncurses-6.4-x86_64-1.txt -rw-r--r-- 1 root root 1348428 2023-01-09 19:18 ./slackware64/l/ncurses-6.4-x86_64-1.txz -rw-r--r-- 1 root root 163 2023-01-09 19:18 ./slackware64/l/ncurses-6.4-x86_64-1.txz.asc @@ -5592,11 +5592,11 @@ drwxr-xr-x 2 root root 4096 2023-03-08 20:34 ./slackware64/y -rw-r--r-- 1 root root 1491108 2023-02-19 18:31 ./slackware64/y/nethack-3.6.7-x86_64-1.txz -rw-r--r-- 1 root root 163 2023-02-19 18:31 ./slackware64/y/nethack-3.6.7-x86_64-1.txz.asc -rw-r--r-- 1 root root 26 2020-12-30 21:55 ./slackware64/y/tagfile -drwxr-xr-x 18 root root 4096 2023-05-18 15:22 ./source --rw-r--r-- 1 root root 599139 2023-05-18 15:22 ./source/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2023-05-18 15:22 ./source/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 832983 2023-05-18 15:22 ./source/FILE_LIST --rw-r--r-- 1 root root 24545897 2023-05-18 15:22 ./source/MANIFEST.bz2 +drwxr-xr-x 18 root root 4096 2023-05-19 16:45 ./source +-rw-r--r-- 1 root root 599263 2023-05-19 16:45 ./source/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2023-05-19 16:45 ./source/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 833141 2023-05-19 16:45 ./source/FILE_LIST +-rw-r--r-- 1 root root 24537750 2023-05-19 16:45 ./source/MANIFEST.bz2 -rw-r--r-- 1 root root 828 2022-02-02 04:43 ./source/README.TXT drwxr-xr-x 123 root root 4096 2023-05-17 20:46 ./source/a -rw-r--r-- 1 root root 234 2022-10-16 18:39 ./source/a/FTBFSlog @@ -5882,9 +5882,9 @@ drwxr-xr-x 2 root root 4096 2015-11-17 02:56 ./source/a/eudev/config/rule -rw-r--r-- 1 root root 269 2023-05-16 18:19 ./source/a/eudev/eudev.no.renderD.diff.gz -rw-r--r-- 1 root root 367 2023-05-17 17:46 ./source/a/eudev/eudev.no.sgx.diff.gz -rw-r--r-- 1 root root 965 2018-02-27 06:13 ./source/a/eudev/slack-desc -drwxr-xr-x 2 root root 4096 2022-11-04 18:06 ./source/a/exfatprogs --rw-r--r-- 1 root root 272716 2022-10-28 13:49 ./source/a/exfatprogs/exfatprogs-1.2.0.tar.xz --rw-r--r-- 1 root root 833 2022-10-28 15:22 ./source/a/exfatprogs/exfatprogs-1.2.0.tar.xz.asc +drwxr-xr-x 2 root root 4096 2023-05-19 15:42 ./source/a/exfatprogs +-rw-r--r-- 1 root root 274108 2023-05-18 11:55 ./source/a/exfatprogs/exfatprogs-1.2.1.tar.xz +-rw-r--r-- 1 root root 833 2023-05-18 11:55 ./source/a/exfatprogs/exfatprogs-1.2.1.tar.xz.asc -rwxr-xr-x 1 root root 4105 2022-09-06 18:27 ./source/a/exfatprogs/exfatprogs.SlackBuild -rw-r--r-- 1 root root 41 2021-01-01 20:34 ./source/a/exfatprogs/exfatprogs.url -rw-r--r-- 1 root root 914 2021-01-01 20:39 ./source/a/exfatprogs/slack-desc @@ -7390,10 +7390,10 @@ drwxr-xr-x 2 root root 4096 2022-10-19 18:05 ./source/d/clisp -rw-r--r-- 1 root root 666366 2021-06-13 15:38 ./source/d/clisp/libffcall-2.4.tar.lz -rw-r--r-- 1 root root 1116 2018-02-27 06:13 ./source/d/clisp/slack-desc -rwxr-xr-x 1 root root 1890 2020-07-09 18:37 ./source/d/clisp/source.download -drwxr-xr-x 2 root root 4096 2023-04-05 17:15 ./source/d/cmake --rw-r--r-- 1 root root 7139695 2023-04-04 20:09 ./source/d/cmake/cmake-3.26.3.tar.lz +drwxr-xr-x 2 root root 4096 2023-05-19 15:33 ./source/d/cmake +-rw-r--r-- 1 root root 7140275 2023-05-18 19:08 ./source/d/cmake/cmake-3.26.4.tar.lz -rwxr-xr-x 1 root root 4157 2022-04-30 19:32 ./source/d/cmake/cmake.SlackBuild --rw-r--r-- 1 root root 121 2023-04-05 17:15 ./source/d/cmake/cmake.url +-rw-r--r-- 1 root root 121 2023-05-19 15:32 ./source/d/cmake/cmake.url -rw-r--r-- 1 root root 832 2018-11-29 19:16 ./source/d/cmake/slack-desc drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/cscope -rw-r--r-- 1 root root 406801 2018-07-24 18:39 ./source/d/cscope/cscope-15.9.tar.lz @@ -10340,35 +10340,35 @@ drwxr-xr-x 2 root root 4096 2022-05-18 18:19 ./source/l/gsl -rw-r--r-- 1 root root 5352580 2021-12-01 05:33 ./source/l/gsl/gsl-2.7.1.tar.lz -rwxr--r-- 1 root root 4339 2021-06-01 18:00 ./source/l/gsl/gsl.SlackBuild -rw-r--r-- 1 root root 897 2018-06-25 18:26 ./source/l/gsl/slack-desc -drwxr-xr-x 2 root root 4096 2023-04-12 18:28 ./source/l/gst-plugins-bad-free --rwxr-xr-x 1 root root 1878 2023-04-12 18:28 ./source/l/gst-plugins-bad-free/fetch-sources.sh +drwxr-xr-x 2 root root 4096 2023-05-19 15:45 ./source/l/gst-plugins-bad-free +-rwxr-xr-x 1 root root 1878 2023-05-19 15:45 ./source/l/gst-plugins-bad-free/fetch-sources.sh -rwxr-xr-x 1 root root 2450 2023-01-24 03:00 ./source/l/gst-plugins-bad-free/gst-p-bad-cleanup.sh --rw-r--r-- 1 root root 5220180 2023-04-12 18:28 ./source/l/gst-plugins-bad-free/gst-plugins-bad-free-1.22.2.tar.lz +-rw-r--r-- 1 root root 5225829 2023-05-19 15:45 ./source/l/gst-plugins-bad-free/gst-plugins-bad-free-1.22.3.tar.lz -rwxr-xr-x 1 root root 4698 2023-04-12 18:29 ./source/l/gst-plugins-bad-free/gst-plugins-bad-free.SlackBuild -rw-r--r-- 1 root root 39 2021-09-25 03:56 ./source/l/gst-plugins-bad-free/gst-plugins-bad.url -rw-r--r-- 1 root root 1157 2021-09-25 19:07 ./source/l/gst-plugins-bad-free/slack-desc -drwxr-xr-x 2 root root 4096 2023-04-12 18:27 ./source/l/gst-plugins-base --rw-r--r-- 1 root root 2350476 2023-04-11 16:49 ./source/l/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz --rw-r--r-- 1 root root 833 2023-04-11 16:49 ./source/l/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.asc +drwxr-xr-x 2 root root 4096 2023-05-19 15:44 ./source/l/gst-plugins-base +-rw-r--r-- 1 root root 2353512 2023-05-19 08:33 ./source/l/gst-plugins-base/gst-plugins-base-1.22.3.tar.xz +-rw-r--r-- 1 root root 833 2023-05-19 08:33 ./source/l/gst-plugins-base/gst-plugins-base-1.22.3.tar.xz.asc -rwxr-xr-x 1 root root 4541 2021-08-07 04:36 ./source/l/gst-plugins-base/gst-plugins-base.SlackBuild -rw-r--r-- 1 root root 39 2018-05-17 18:59 ./source/l/gst-plugins-base/gst-plugins-base.url -rw-r--r-- 1 root root 1062 2018-02-27 06:12 ./source/l/gst-plugins-base/slack-desc -drwxr-xr-x 2 root root 4096 2023-04-12 18:28 ./source/l/gst-plugins-good --rw-r--r-- 1 root root 2806216 2023-04-11 16:49 ./source/l/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz --rw-r--r-- 1 root root 833 2023-04-11 16:49 ./source/l/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.asc +drwxr-xr-x 2 root root 4096 2023-05-19 15:44 ./source/l/gst-plugins-good +-rw-r--r-- 1 root root 2826224 2023-05-19 08:33 ./source/l/gst-plugins-good/gst-plugins-good-1.22.3.tar.xz +-rw-r--r-- 1 root root 833 2023-05-19 08:33 ./source/l/gst-plugins-good/gst-plugins-good-1.22.3.tar.xz.asc -rwxr-xr-x 1 root root 4613 2023-03-04 19:34 ./source/l/gst-plugins-good/gst-plugins-good.SlackBuild -rw-r--r-- 1 root root 39 2018-05-17 19:07 ./source/l/gst-plugins-good/gst-plugins-good.url -rw-r--r-- 1 root root 908 2021-09-25 04:02 ./source/l/gst-plugins-good/slack-desc -drwxr-xr-x 2 root root 4096 2023-04-12 18:30 ./source/l/gst-plugins-libav --rw-r--r-- 1 root root 195244 2023-04-11 16:49 ./source/l/gst-plugins-libav/gst-libav-1.22.2.tar.xz --rw-r--r-- 1 root root 833 2023-04-11 16:49 ./source/l/gst-plugins-libav/gst-libav-1.22.2.tar.xz.asc +drwxr-xr-x 2 root root 4096 2023-05-19 15:46 ./source/l/gst-plugins-libav +-rw-r--r-- 1 root root 197008 2023-05-19 08:33 ./source/l/gst-plugins-libav/gst-libav-1.22.3.tar.xz +-rw-r--r-- 1 root root 833 2023-05-19 08:33 ./source/l/gst-plugins-libav/gst-libav-1.22.3.tar.xz.asc -rwxr-xr-x 1 root root 4367 2021-03-16 17:25 ./source/l/gst-plugins-libav/gst-plugins-libav.SlackBuild -rw-r--r-- 1 root root 39 2018-05-17 19:10 ./source/l/gst-plugins-libav/gst-plugins-libav.url -rwxr-xr-x 1 root root 2527 2018-05-17 19:12 ./source/l/gst-plugins-libav/paredown.sh -rw-r--r-- 1 root root 937 2018-02-27 06:12 ./source/l/gst-plugins-libav/slack-desc -drwxr-xr-x 2 root root 4096 2023-04-12 18:26 ./source/l/gstreamer --rw-r--r-- 1 root root 1783792 2023-04-11 16:49 ./source/l/gstreamer/gstreamer-1.22.2.tar.xz --rw-r--r-- 1 root root 833 2023-04-11 16:49 ./source/l/gstreamer/gstreamer-1.22.2.tar.xz.asc +drwxr-xr-x 2 root root 4096 2023-05-19 15:43 ./source/l/gstreamer +-rw-r--r-- 1 root root 1785496 2023-05-19 08:33 ./source/l/gstreamer/gstreamer-1.22.3.tar.xz +-rw-r--r-- 1 root root 833 2023-05-19 08:33 ./source/l/gstreamer/gstreamer-1.22.3.tar.xz.asc -rwxr-xr-x 1 root root 4464 2021-03-16 17:21 ./source/l/gstreamer/gstreamer.SlackBuild -rw-r--r-- 1 root root 39 2018-05-17 18:59 ./source/l/gstreamer/gstreamer.url -rw-r--r-- 1 root root 1057 2018-10-17 03:01 ./source/l/gstreamer/slack-desc @@ -11058,8 +11058,8 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/libusbmuxd -rw-r--r-- 1 root root 42200 2020-06-16 18:38 ./source/l/libusbmuxd/libusbmuxd-20200615_c7d7d1a.tar.xz -rwxr-xr-x 1 root root 4193 2021-02-13 05:32 ./source/l/libusbmuxd/libusbmuxd.SlackBuild -rw-r--r-- 1 root root 779 2018-02-27 06:12 ./source/l/libusbmuxd/slack-desc -drwxr-xr-x 2 root root 4096 2022-09-06 18:27 ./source/l/libuv --rw-r--r-- 1 root root 1060606 2022-07-12 16:21 ./source/l/libuv/libuv-v1.44.2.tar.lz +drwxr-xr-x 2 root root 4096 2023-05-19 15:47 ./source/l/libuv +-rw-r--r-- 1 root root 1058397 2023-05-19 11:52 ./source/l/libuv/libuv-v1.45.0.tar.lz -rwxr-xr-x 1 root root 4291 2022-09-06 18:27 ./source/l/libuv/libuv.SlackBuild -rw-r--r-- 1 root root 28 2020-02-20 19:27 ./source/l/libuv/libuv.url -rw-r--r-- 1 root root 667 2020-02-20 19:34 ./source/l/libuv/slack-desc @@ -11228,7 +11228,7 @@ drwxr-xr-x 3 root root 4096 2023-05-14 15:39 ./source/l/mpfr -rw-r--r-- 1 root root 119 2023-01-06 15:04 ./source/l/mpfr/mpfr-4.2.0.tar.xz.sig -rwxr-xr-x 1 root root 4541 2023-04-18 17:56 ./source/l/mpfr/mpfr.SlackBuild -rw-r--r-- 1 root root 21 2023-04-18 17:52 ./source/l/mpfr/mpfr.url -drwxr-xr-x 2 root root 4096 2023-05-14 15:39 ./source/l/mpfr/patches +drwxr-xr-x 2 root root 4096 2023-05-19 15:49 ./source/l/mpfr/patches -rw-r--r-- 1 root root 63 2023-05-14 15:38 ./source/l/mpfr/patches.url -rw-r--r-- 1 root root 1238 2023-04-17 23:53 ./source/l/mpfr/patches/patch01.gz -rw-r--r-- 1 root root 2648 2023-04-17 23:53 ./source/l/mpfr/patches/patch02.gz @@ -11237,6 +11237,8 @@ drwxr-xr-x 2 root root 4096 2023-05-14 15:39 ./source/l/mpfr/patches -rw-r--r-- 1 root root 1146 2023-05-12 17:11 ./source/l/mpfr/patches/patch05.gz -rw-r--r-- 1 root root 2165 2023-05-12 17:11 ./source/l/mpfr/patches/patch06.gz -rw-r--r-- 1 root root 3846 2023-05-12 17:11 ./source/l/mpfr/patches/patch07.gz +-rw-r--r-- 1 root root 6909 2023-05-17 21:04 ./source/l/mpfr/patches/patch08.gz +-rw-r--r-- 1 root root 1508 2023-05-17 21:04 ./source/l/mpfr/patches/patch09.gz -rw-r--r-- 1 root root 1038 2018-02-27 06:12 ./source/l/mpfr/slack-desc drwxr-xr-x 3 root root 4096 2023-01-09 19:11 ./source/l/ncurses -rwxr-xr-x 1 root root 3292 2021-10-10 21:28 ./source/l/ncurses/aaa_terminfo.SlackBuild @@ -15239,8 +15241,8 @@ drwxr-xr-x 2 root root 4096 2023-02-28 19:27 ./source/xfce/xfce4-notifyd -rw-r--r-- 1 root root 506883 2023-02-28 06:37 ./source/xfce/xfce4-notifyd/xfce4-notifyd-0.8.2.tar.lz -rwxr-xr-x 1 root root 4023 2022-02-13 19:38 ./source/xfce/xfce4-notifyd/xfce4-notifyd.SlackBuild -rw-r--r-- 1 root root 52 2023-02-11 20:27 ./source/xfce/xfce4-notifyd/xfce4-notifyd.url -drwxr-xr-x 2 root root 4096 2023-03-29 17:35 ./source/xfce/xfce4-panel -drwxr-xr-x 2 root root 4096 2021-02-22 01:27 ./source/xfce/xfce4-panel-profiles +drwxr-xr-x 2 root root 4096 2023-03-29 17:35 ./source/xfce/xfce4-panel +drwxr-xr-x 2 root root 4096 2021-02-22 01:27 ./source/xfce/xfce4-panel-profiles -rw-r--r-- 1 root root 121 2019-08-02 07:05 ./source/xfce/xfce4-panel-profiles/doinst.sh.gz -rw-r--r-- 1 root root 1138 2019-08-02 07:01 ./source/xfce/xfce4-panel-profiles/slack-desc -rw-r--r-- 1 root root 63201 2021-02-22 01:26 ./source/xfce/xfce4-panel-profiles/xfce4-panel-profiles-1.0.13.tar.lz diff --git a/recompress.sh b/recompress.sh index 0f14a8c83..156b871b8 100755 --- a/recompress.sh +++ b/recompress.sh @@ -756,9 +756,11 @@ gzip ./source/l/clucene/clucene.pkgconfig.diff gzip ./source/l/libxml2/libxml2.python3-unicode-errors.patch gzip ./source/l/libxml2/libxml2.do-not-check-crc.diff gzip ./source/l/mpfr/patches/patch03 +gzip ./source/l/mpfr/patches/patch08 gzip ./source/l/mpfr/patches/patch07 gzip ./source/l/mpfr/patches/patch05 gzip ./source/l/mpfr/patches/patch04 +gzip ./source/l/mpfr/patches/patch09 gzip ./source/l/mpfr/patches/patch06 gzip ./source/l/mpfr/patches/patch01 gzip ./source/l/mpfr/patches/patch02 diff --git a/source/d/cmake/cmake.url b/source/d/cmake/cmake.url index 7fb6e086d..74325bbe9 100644 --- a/source/d/cmake/cmake.url +++ b/source/d/cmake/cmake.url @@ -1,2 +1,2 @@ https://github.com/Kitware/CMake/releases -https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3.tar.gz +https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4.tar.gz diff --git a/source/l/gst-plugins-bad-free/fetch-sources.sh b/source/l/gst-plugins-bad-free/fetch-sources.sh index 33d6f90a9..f35304e14 100755 --- a/source/l/gst-plugins-bad-free/fetch-sources.sh +++ b/source/l/gst-plugins-bad-free/fetch-sources.sh @@ -26,7 +26,7 @@ # # Example: VERSION=1.18.5 ./fetch-sources.sh -VERSION=${VERSION:-1.22.2} +VERSION=${VERSION:-1.22.3} rm -rf rm -rf gst-plugins-bad-free-$VERSION gst-plugins-bad-$VERSION diff --git a/source/l/mpfr/patches/patch08 b/source/l/mpfr/patches/patch08 new file mode 100644 index 000000000..aaa90303e --- /dev/null +++ b/source/l/mpfr/patches/patch08 @@ -0,0 +1,636 @@ +diff -Naurd mpfr-4.2.0-a/PATCHES mpfr-4.2.0-b/PATCHES +--- mpfr-4.2.0-a/PATCHES 2023-05-17 17:17:28.512360351 +0000 ++++ mpfr-4.2.0-b/PATCHES 2023-05-17 17:17:28.600360192 +0000 +@@ -0,0 +1 @@ ++compound +diff -Naurd mpfr-4.2.0-a/VERSION mpfr-4.2.0-b/VERSION +--- mpfr-4.2.0-a/VERSION 2023-05-12 15:08:39.325546612 +0000 ++++ mpfr-4.2.0-b/VERSION 2023-05-17 17:17:28.600360192 +0000 +@@ -1 +1 @@ +-4.2.0-p7 ++4.2.0-p8 +diff -Naurd mpfr-4.2.0-a/src/compound.c mpfr-4.2.0-b/src/compound.c +--- mpfr-4.2.0-a/src/compound.c 2023-01-05 17:09:48.000000000 +0000 ++++ mpfr-4.2.0-b/src/compound.c 2023-05-17 17:17:28.588360213 +0000 +@@ -55,9 +55,9 @@ + mpfr_compound_si (mpfr_ptr y, mpfr_srcptr x, long n, mpfr_rnd_t rnd_mode) + { + int inexact, compared, k, nloop; +- mpfr_t t; +- mpfr_exp_t e; +- mpfr_prec_t prec; ++ mpfr_t t, u; ++ mpfr_prec_t py, prec, extra; ++ mpfr_rnd_t rnd1; + MPFR_ZIV_DECL (loop); + MPFR_SAVE_EXPO_DECL (expo); + +@@ -136,64 +136,185 @@ + + MPFR_SAVE_EXPO_MARK (expo); + +- prec = MPFR_PREC(y); +- prec += MPFR_INT_CEIL_LOG2 (prec) + 6; ++ py = MPFR_GET_PREC (y); ++ prec = py + MPFR_INT_CEIL_LOG2 (py) + 6; + + mpfr_init2 (t, prec); ++ mpfr_init2 (u, prec); + + k = MPFR_INT_CEIL_LOG2(SAFE_ABS (unsigned long, n)); /* thus |n| <= 2^k */ + ++ /* We compute u=log2p1(x) with prec+extra bits, since we lose some bits ++ in 2^u. */ ++ extra = 0; ++ rnd1 = VSIGN (n) == MPFR_SIGN (x) ? MPFR_RNDD : MPFR_RNDU; ++ + MPFR_ZIV_INIT (loop, prec); + for (nloop = 0; ; nloop++) + { +- /* we compute (1+x)^n as 2^(n*log2p1(x)) */ +- inexact = mpfr_log2p1 (t, x, MPFR_RNDN) != 0; +- e = MPFR_GET_EXP(t); +- /* |t - log2(1+x)| <= 1/2*ulp(t) = 2^(e-prec-1) */ +- inexact |= mpfr_mul_si (t, t, n, MPFR_RNDN) != 0; +- /* |t - n*log2(1+x)| <= 2^(e2-prec-1) + |n|*2^(e-prec-1) +- <= 2^(e2-prec-1) + 2^(e+k-prec-1) <= 2^(e+k-prec) +- where |n| <= 2^k, and e2 is the new exponent of t. */ +- MPFR_ASSERTD(MPFR_GET_EXP(t) <= e + k); +- e += k; +- /* |t - n*log2(1+x)| <= 2^(e-prec) */ +- /* detect overflow */ +- if (nloop == 0 && mpfr_cmp_si (t, __gmpfr_emax) >= 0) ++ unsigned int inex; ++ mpfr_exp_t e, e2, ex; ++ mpfr_prec_t precu = MPFR_ADD_PREC (prec, extra); ++ mpfr_prec_t new_extra; ++ mpfr_rnd_t rnd2; ++ ++ /* We compute (1+x)^n as 2^(n*log2p1(x)), ++ and we round toward 1, thus we round n*log2p1(x) toward 0, ++ thus for x*n > 0 we round log2p1(x) toward -Inf, and for x*n < 0 ++ we round log2p1(x) toward +Inf. */ ++ inex = mpfr_log2p1 (u, x, rnd1) != 0; ++ e = MPFR_GET_EXP (u); ++ /* |u - log2(1+x)| <= ulp(t) = 2^(e-precu) */ ++ inex |= mpfr_mul_si (u, u, n, MPFR_RNDZ) != 0; ++ e2 = MPFR_GET_EXP (u); ++ /* |u - n*log2(1+x)| <= 2^(e2-precu) + |n|*2^(e-precu) ++ <= 2^(e2-precu) + 2^(e+k-precu) <= 2^(e+k+1-precu) ++ where |n| <= 2^k, and e2 is the new exponent of u. */ ++ MPFR_ASSERTD (e2 <= e + k); ++ e += k + 1; ++ MPFR_ASSERTN (e2 <= MPFR_PREC_MAX); ++ new_extra = e2 > 0 ? e2 : 0; ++ /* |u - n*log2(1+x)| <= 2^(e-precu) */ ++ /* detect overflow: since we rounded n*log2p1(x) toward 0, ++ if n*log2p1(x) >= __gmpfr_emax, we are sure there is overflow. */ ++ if (mpfr_cmp_si (u, __gmpfr_emax) >= 0) + { + MPFR_ZIV_FREE (loop); + mpfr_clear (t); ++ mpfr_clear (u); + MPFR_SAVE_EXPO_FREE (expo); + return mpfr_overflow (y, rnd_mode, 1); + } +- /* detect underflow */ +- if (nloop == 0 && mpfr_cmp_si (t, __gmpfr_emin - 1) <= 0) ++ /* detect underflow: similarly, since we rounded n*log2p1(x) toward 0, ++ if n*log2p1(x) < __gmpfr_emin-1, we are sure there is underflow. */ ++ if (mpfr_cmp_si (u, __gmpfr_emin - 1) < 0) + { + MPFR_ZIV_FREE (loop); + mpfr_clear (t); ++ mpfr_clear (u); + MPFR_SAVE_EXPO_FREE (expo); + return mpfr_underflow (y, +- (rnd_mode == MPFR_RNDN) ? MPFR_RNDZ : rnd_mode, 1); ++ rnd_mode == MPFR_RNDN ? MPFR_RNDZ : rnd_mode, 1); + } + /* Detect cases where result is 1 or 1+ulp(1) or 1-1/2*ulp(1): +- |2^t - 1| = |exp(t*log(2)) - 1| <= |t|*log(2) < |t| */ +- if (nloop == 0 && MPFR_GET_EXP(t) < - (mpfr_exp_t) MPFR_PREC(y)) ++ |2^u - 1| = |exp(u*log(2)) - 1| <= |u|*log(2) < |u| */ ++ if (nloop == 0 && MPFR_GET_EXP(u) < - py) + { +- /* since ulp(1) = 2^(1-PREC(y)), we have |t| < 1/4*ulp(1) */ ++ /* since ulp(1) = 2^(1-py), we have |u| < 1/4*ulp(1) */ + /* mpfr_compound_near_one must be called in the extended + exponent range, so that 1 is representable. */ +- inexact = mpfr_compound_near_one (y, MPFR_SIGN (t), rnd_mode); ++ inexact = mpfr_compound_near_one (y, MPFR_SIGN (u), rnd_mode); + goto end; + } +- inexact |= mpfr_exp2 (t, t, MPFR_RNDA) != 0; +- /* |t - (1+x)^n| <= ulp(t) + |t|*log(2)*2^(e-prec) +- < 2^(EXP(t)-prec) + 2^(EXP(t)+e-prec) */ +- e = (e >= 0) ? e + 1 : 1; ++ /* FIXME: mpfr_exp2 could underflow to the smallest positive number ++ since MPFR_RNDA is used, and this case will not be detected by ++ MPFR_CAN_ROUND (see BUGS). Either fix that, or do early underflow ++ detection (which may be necessary). */ ++ /* round 2^u toward 1 */ ++ rnd2 = MPFR_IS_POS (u) ? MPFR_RNDD : MPFR_RNDU; ++ inex |= mpfr_exp2 (t, u, rnd2) != 0; ++ /* we had |u - n*log2(1+x)| < 2^(e-precu) ++ thus u = n*log2(1+x) + delta with |delta| < 2^(e-precu) ++ then 2^u = (1+x)^n * 2^delta with |delta| < 2^(e-precu). ++ For |delta| < 0.5, |2^delta - 1| <= |delta| thus ++ |t - (1+x)^n| <= ulp(t) + |t|*2^(e-precu) ++ < 2^(EXP(t)-prec) + 2^(EXP(t)+e-precu) */ ++ e = (precu - prec >= e) ? 1 : e + 1 - (precu - prec); + /* now |t - (1+x)^n| < 2^(EXP(t)+e-prec) */ + +- if (MPFR_LIKELY (inexact == 0 || +- MPFR_CAN_ROUND (t, prec - e, MPFR_PREC(y), rnd_mode))) ++ if (MPFR_LIKELY (!inex || MPFR_CAN_ROUND (t, prec - e, py, rnd_mode))) + break; + ++ /* If t fits in the target precision (or with 1 more bit), then we can ++ round, assuming the working precision is large enough, but the above ++ MPFR_CAN_ROUND() will fail because we cannot determine the ternary ++ value. However since we rounded t toward 1, we can determine it. ++ Since the error in the approximation t is at most 2^e ulp(t), ++ this error should be less than 1/2 ulp(y), thus we should have ++ prec - py >= e + 1. */ ++ if (mpfr_min_prec (t) <= py + 1 && prec - py >= e + 1) ++ { ++ /* we add/subtract one ulp to get the correct rounding */ ++ if (rnd2 == MPFR_RNDD) /* t was rounded downwards */ ++ mpfr_nextabove (t); ++ else ++ mpfr_nextbelow (t); ++ break; ++ } ++ ++ /* Detect particular cases where Ziv's strategy may take too much ++ memory and be too long, i.e. when x^n fits in the target precision ++ (+ 1 additional bit for rounding to nearest) and the exact result ++ (1+x)^n is very close to x^n. ++ Necessarily, x is a large even integer and n > 0 (thus n > 1). ++ Since this does not depend on the working precision, we only ++ check this at the first iteration (nloop == 0). ++ Hence the first "if" below and the kx < ex test of the second "if" ++ (x is an even integer iff its least bit 1 has exponent >= 1). ++ The second test of the second "if" corresponds to another simple ++ condition that implies that x^n fits in the target precision. ++ Here are the details: ++ Let k be the minimum length of the significand of x, and x' the odd ++ (integer) significand of x. This means that 2^(k-1) <= x' < 2^k. ++ Thus 2^(n*(k-1)) <= (x')^n < 2^(k*n), and x^n has between n*(k-1)+1 ++ and k*n bits. So x^n can fit into p bits only if p >= n*(k-1)+1, ++ i.e. n*(k-1) <= p-1. ++ Note that x >= 2^k, so that x^n >= 2^(k*n). Since raw overflow ++ has already been detected, k*n cannot overflow if computed with ++ the mpfr_exp_t type. Hence the second test of the second "if", ++ which cannot overflow. */ ++ MPFR_ASSERTD (n < 0 || n > 1); ++ if (nloop == 0 && n > 1 && (ex = MPFR_GET_EXP (x)) >= 17) ++ { ++ mpfr_prec_t kx = mpfr_min_prec (x); ++ mpfr_prec_t p = py + (rnd_mode == MPFR_RNDN); ++ ++ MPFR_LOG_MSG (("Check if x^n fits... n=%ld kx=%Pd p=%Pd\n", ++ n, kx, p)); ++ if (kx < ex && n * (mpfr_exp_t) (kx - 1) <= p - 1) ++ { ++ mpfr_t v; ++ ++ /* Check whether x^n really fits into p bits. */ ++ mpfr_init2 (v, p); ++ inexact = mpfr_pow_ui (v, x, n, MPFR_RNDZ); ++ if (inexact == 0) ++ { ++ MPFR_LOG_MSG (("x^n fits into p bits\n", 0)); ++ /* (x+1)^n = x^n * (1 + 1/x)^n ++ For directed rounding, we can round when (1 + 1/x)^n ++ < 1 + 2^-p, and then the result is x^n, ++ except for rounding up. Indeed, if (1 + 1/x)^n < 1 + 2^-p, ++ 1 <= (x+1)^n < x^n * (1 + 2^-p) = x^n + x^n/2^p ++ < x^n + ulp(x^n). ++ For rounding to nearest, we can round when (1 + 1/x)^n ++ < 1 + 2^-p, and then the result is x^n when x^n fits ++ into p-1 bits, and nextabove(x^n) otherwise. */ ++ mpfr_ui_div (t, 1, x, MPFR_RNDU); ++ mpfr_add_ui (t, t, 1, MPFR_RNDU); ++ mpfr_pow_ui (t, t, n, MPFR_RNDU); ++ mpfr_sub_ui (t, t, 1, MPFR_RNDU); ++ /* t cannot be zero */ ++ if (MPFR_GET_EXP(t) < - py) ++ { ++ mpfr_set (y, v, MPFR_RNDZ); ++ if ((rnd_mode == MPFR_RNDN && mpfr_min_prec (v) == p) ++ || rnd_mode == MPFR_RNDU || rnd_mode == MPFR_RNDA) ++ { ++ /* round up */ ++ mpfr_nextabove (y); ++ inexact = 1; ++ } ++ else ++ inexact = -1; ++ mpfr_clear (v); ++ goto end; ++ } ++ } ++ mpfr_clear (v); ++ } ++ } ++ + /* Exact cases like compound(0.5,2) = 9/4 must be detected, since + except for 1+x power of 2, the log2p1 above will be inexact, + so that in the Ziv test, inexact != 0 and MPFR_CAN_ROUND will +@@ -211,6 +332,8 @@ + + MPFR_ZIV_NEXT (loop, prec); + mpfr_set_prec (t, prec); ++ extra = new_extra; ++ mpfr_set_prec (u, MPFR_ADD_PREC (prec, extra)); + } + + inexact = mpfr_set (y, t, rnd_mode); +@@ -218,6 +341,7 @@ + end: + MPFR_ZIV_FREE (loop); + mpfr_clear (t); ++ mpfr_clear (u); + + MPFR_SAVE_EXPO_FREE (expo); + return mpfr_check_range (y, inexact, rnd_mode); +diff -Naurd mpfr-4.2.0-a/src/mpfr.h mpfr-4.2.0-b/src/mpfr.h +--- mpfr-4.2.0-a/src/mpfr.h 2023-05-12 15:08:39.321546616 +0000 ++++ mpfr-4.2.0-b/src/mpfr.h 2023-05-17 17:17:28.596360199 +0000 +@@ -27,7 +27,7 @@ + #define MPFR_VERSION_MAJOR 4 + #define MPFR_VERSION_MINOR 2 + #define MPFR_VERSION_PATCHLEVEL 0 +-#define MPFR_VERSION_STRING "4.2.0-p7" ++#define MPFR_VERSION_STRING "4.2.0-p8" + + /* User macros: + MPFR_USE_FILE: Define it to make MPFR define functions dealing +diff -Naurd mpfr-4.2.0-a/src/version.c mpfr-4.2.0-b/src/version.c +--- mpfr-4.2.0-a/src/version.c 2023-05-12 15:08:39.325546612 +0000 ++++ mpfr-4.2.0-b/src/version.c 2023-05-17 17:17:28.600360192 +0000 +@@ -25,5 +25,5 @@ + const char * + mpfr_get_version (void) + { +- return "4.2.0-p7"; ++ return "4.2.0-p8"; + } +diff -Naurd mpfr-4.2.0-a/tests/tcompound.c mpfr-4.2.0-b/tests/tcompound.c +--- mpfr-4.2.0-a/tests/tcompound.c 2023-01-05 17:09:48.000000000 +0000 ++++ mpfr-4.2.0-b/tests/tcompound.c 2023-05-17 17:17:28.588360213 +0000 +@@ -238,18 +238,263 @@ + mpfr_clear (y); + } + +-static int +-mpfr_compound2 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode) ++/* Failure with mpfr_compound_si from 2021-02-15 due to ++ incorrect underflow detection. */ ++static void ++bug_20230206 (void) + { +- return mpfr_compound_si (y, x, 2, rnd_mode); ++ if (MPFR_PREC_MIN == 1) ++ { ++ mpfr_t x, y1, y2; ++ int inex1, inex2; ++ mpfr_flags_t flags1, flags2; ++#if MPFR_PREC_BITS >= 64 ++ mpfr_exp_t emin; ++#endif ++ ++ mpfr_inits2 (1, x, y1, y2, (mpfr_ptr) 0); ++ mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); /* x = 1/2 */ ++ ++ /* This first test is useful mainly for a 32-bit mpfr_exp_t type ++ (no failure with a 64-bit mpfr_exp_t type since the underflow ++ threshold in the extended exponent range is much lower). */ ++ ++ mpfr_set_ui_2exp (y1, 1, -1072124363, MPFR_RNDN); ++ inex1 = -1; ++ flags1 = MPFR_FLAGS_INEXACT; ++ mpfr_clear_flags (); ++ /* -1832808704 ~= -2^30 / log2(3/2) */ ++ inex2 = mpfr_compound_si (y2, x, -1832808704, MPFR_RNDN); ++ flags2 = __gmpfr_flags; ++ if (!(mpfr_equal_p (y1, y2) && ++ SAME_SIGN (inex1, inex2) && ++ flags1 == flags2)) ++ { ++ printf ("Error in bug_20230206 (1):\n"); ++ printf ("Expected "); ++ mpfr_dump (y1); ++ printf (" with inex = %d, flags =", inex1); ++ flags_out (flags1); ++ printf ("Got "); ++ mpfr_dump (y2); ++ printf (" with inex = %d, flags =", inex2); ++ flags_out (flags2); ++ exit (1); ++ } ++ ++ /* This second test is for a 64-bit mpfr_exp_t type ++ (it is disabled with a 32-bit mpfr_exp_t type). */ ++ ++ /* The "#if" makes sure that 64-bit constants are supported, avoiding ++ a compilation failure. The "if" makes sure that the constant is ++ representable in a long (this would not be the case with 32-bit ++ unsigned long and 64-bit limb). It also ensures that mpfr_exp_t ++ has at least 64 bits. */ ++#if MPFR_PREC_BITS >= 64 ++ emin = mpfr_get_emin (); ++ set_emin (MPFR_EMIN_MIN); ++ mpfr_set_ui_2exp (y1, 1, -4611686018427366846, MPFR_RNDN); ++ inex1 = 1; ++ flags1 = MPFR_FLAGS_INEXACT; ++ mpfr_clear_flags (); ++ /* -7883729320669216768 ~= -2^62 / log2(3/2) */ ++ inex2 = mpfr_compound_si (y2, x, -7883729320669216768, MPFR_RNDN); ++ flags2 = __gmpfr_flags; ++ if (!(mpfr_equal_p (y1, y2) && ++ SAME_SIGN (inex1, inex2) && ++ flags1 == flags2)) ++ { ++ printf ("Error in bug_20230206 (2):\n"); ++ printf ("Expected "); ++ mpfr_dump (y1); ++ printf (" with inex = %d, flags =", inex1); ++ flags_out (flags1); ++ printf ("Got "); ++ mpfr_dump (y2); ++ printf (" with inex = %d, flags =", inex2); ++ flags_out (flags2); ++ exit (1); ++ } ++ set_emin (emin); ++#endif ++ ++ mpfr_clears (x, y1, y2, (mpfr_ptr) 0); ++ } + } + ++/* Reported by Patrick Pelissier on 2023-02-11 for the master branch ++ (tgeneric_ui.c with GMP_CHECK_RANDOMIZE=1412991715). ++ On a 32-bit host, one gets Inf (overflow) instead of 0.1E1071805703. ++*/ ++static void ++bug_20230211 (void) ++{ ++ mpfr_t x, y1, y2; ++ int inex1, inex2; ++ mpfr_flags_t flags1, flags2; ++ ++ mpfr_inits2 (1, x, y1, y2, (mpfr_ptr) 0); ++ mpfr_set_ui_2exp (x, 1, -1, MPFR_RNDN); /* x = 1/2 */ ++ mpfr_set_ui_2exp (y1, 1, 1071805702, MPFR_RNDN); ++ inex1 = 1; ++ flags1 = MPFR_FLAGS_INEXACT; ++ mpfr_clear_flags (); ++ inex2 = mpfr_compound_si (y2, x, 1832263949, MPFR_RNDN); ++ flags2 = __gmpfr_flags; ++ if (!(mpfr_equal_p (y1, y2) && ++ SAME_SIGN (inex1, inex2) && ++ flags1 == flags2)) ++ { ++ printf ("Error in bug_20230211:\n"); ++ printf ("Expected "); ++ mpfr_dump (y1); ++ printf (" with inex = %d, flags =", inex1); ++ flags_out (flags1); ++ printf ("Got "); ++ mpfr_dump (y2); ++ printf (" with inex = %d, flags =", inex2); ++ flags_out (flags2); ++ exit (1); ++ } ++ mpfr_clears (x, y1, y2, (mpfr_ptr) 0); ++} ++ ++/* Integer overflow with compound.c d04caeae04c6a83276916c4fbac1fe9b0cec3c8b ++ (2023-02-23) or 952fb0f5cc2df1fffde3eb54c462fdae5f123ea6 in the 4.2 branch ++ on "n * (kx - 1) + 1". Note: if the only effect is just a random value, ++ this probably doesn't affect the result (one might enter the "if" while ++ one shouldn't, but the real check is done inside the "if"). This test ++ fails if -fsanitize=undefined -fno-sanitize-recover is used or if the ++ processor emits a signal in case of integer overflow. ++ This test has been made obsolete by the "kx < ex" condition ++ in 2cb3123891dd46fe0258d4aec7f8655b8ec69aaf (master branch) ++ or f5cb40571bc3d1559f05b230cf4ffecaf0952852 (4.2 branch). */ ++static void ++bug_20230517 (void) ++{ ++ mpfr_exp_t old_emax; ++ mpfr_t x; ++ ++ old_emax = mpfr_get_emax (); ++ set_emax (MPFR_EMAX_MAX); ++ ++ mpfr_init2 (x, 123456); ++ mpfr_set_ui (x, 65536, MPFR_RNDN); ++ mpfr_nextabove (x); ++ mpfr_compound_si (x, x, LONG_MAX >> 16, MPFR_RNDN); ++ mpfr_clear (x); ++ ++ set_emax (old_emax); ++} ++ ++/* Inverse function on non-special cases... ++ One has x = (1+y)^n with y > -1 and x > 0. Thus y = x^(1/n) - 1. ++ The inverse function is useful ++ - to build and check hard-to-round cases (see bad_cases() in tests.c); ++ - to test the behavior close to the overflow and underflow thresholds. ++ The case x = 0 actually needs to be handled as it may occur with ++ bad_cases() due to rounding. ++*/ + static int +-mpfr_compound3 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode) ++inv_compound (mpfr_ptr y, mpfr_srcptr x, long n, mpfr_rnd_t rnd_mode) + { +- return mpfr_compound_si (y, x, 3, rnd_mode); ++ mpfr_t t; ++ int inexact; ++ mpfr_prec_t precy, prect; ++ MPFR_ZIV_DECL (loop); ++ MPFR_SAVE_EXPO_DECL (expo); ++ ++ MPFR_ASSERTN (n != 0); ++ ++ if (MPFR_UNLIKELY (MPFR_IS_ZERO (x))) ++ { ++ if (n > 0) ++ return mpfr_set_si (y, -1, rnd_mode); ++ else ++ { ++ MPFR_SET_INF (y); ++ MPFR_SET_POS (y); ++ MPFR_RET (0); ++ } ++ } ++ ++ MPFR_SAVE_EXPO_MARK (expo); ++ ++ if (mpfr_equal_p (x, __gmpfr_one)) ++ { ++ MPFR_SAVE_EXPO_FREE (expo); ++ mpfr_set_zero (y, 1); ++ MPFR_RET (0); ++ } ++ ++ precy = MPFR_GET_PREC (y); ++ prect = precy + 20; ++ mpfr_init2 (t, prect); ++ ++ MPFR_ZIV_INIT (loop, prect); ++ for (;;) ++ { ++ mpfr_exp_t expt1, expt2, err; ++ unsigned int inext; ++ ++ if (mpfr_rootn_si (t, x, n, MPFR_RNDN) == 0) ++ { ++ /* With a huge t, this case would yield inext != 0 and a ++ MPFR_CAN_ROUND failure until a huge precision is reached ++ (as the result is very close to an exact point). Fortunately, ++ since t is exact, we can obtain the correctly rounded result ++ by doing the second operation to the target precision directly. ++ */ ++ inexact = mpfr_sub_ui (y, t, 1, rnd_mode); ++ goto end; ++ } ++ expt1 = MPFR_GET_EXP (t); ++ /* |error| <= 2^(expt1-prect-1) */ ++ inext = mpfr_sub_ui (t, t, 1, MPFR_RNDN); ++ if (MPFR_UNLIKELY (MPFR_IS_ZERO (t))) ++ goto cont; /* cannot round yet */ ++ expt2 = MPFR_GET_EXP (t); ++ err = 1; ++ if (expt2 < expt1) ++ err += expt1 - expt2; ++ /* |error(rootn)| <= 2^(err+expt2-prect-2) ++ and if mpfr_sub_ui is inexact: ++ |error| <= 2^(err+expt2-prect-2) + 2^(expt2-prect-1) ++ <= (2^(err-1) + 1) * 2^(expt2-prect-1) ++ <= 2^((err+1)+expt2-prect-2) */ ++ if (inext) ++ err++; ++ /* |error| <= 2^(err+expt2-prect-2) */ ++ if (MPFR_CAN_ROUND (t, prect + 2 - err, precy, rnd_mode)) ++ break; ++ ++ cont: ++ MPFR_ZIV_NEXT (loop, prect); ++ mpfr_set_prec (t, prect); ++ } ++ ++ inexact = mpfr_set (y, t, rnd_mode); ++ ++ end: ++ MPFR_ZIV_FREE (loop); ++ mpfr_clear (t); ++ MPFR_SAVE_EXPO_FREE (expo); ++ return mpfr_check_range (y, inexact, rnd_mode); + } + ++#define DEFN(N) \ ++ static int mpfr_compound##N (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t r) \ ++ { return mpfr_compound_si (y, x, N, r); } \ ++ static int inv_compound##N (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t r) \ ++ { return inv_compound (y, x, N, r); } ++ ++DEFN(2) ++DEFN(3) ++DEFN(4) ++DEFN(5) ++DEFN(17) ++DEFN(120) ++ + #define TEST_FUNCTION mpfr_compound2 + #define test_generic test_generic_compound2 + #include "tgeneric.c" +@@ -258,17 +503,55 @@ + #define test_generic test_generic_compound3 + #include "tgeneric.c" + ++#define TEST_FUNCTION mpfr_compound4 ++#define test_generic test_generic_compound4 ++#include "tgeneric.c" ++ ++#define TEST_FUNCTION mpfr_compound5 ++#define test_generic test_generic_compound5 ++#include "tgeneric.c" ++ ++#define TEST_FUNCTION mpfr_compound17 ++#define test_generic test_generic_compound17 ++#include "tgeneric.c" ++ ++#define TEST_FUNCTION mpfr_compound120 ++#define test_generic test_generic_compound120 ++#include "tgeneric.c" ++ + int + main (void) + { + tests_start_mpfr (); + + check_ieee754 (); ++ bug_20230206 (); ++ bug_20230211 (); ++ bug_20230517 (); + + test_generic_si (MPFR_PREC_MIN, 100, 100); + + test_generic_compound2 (MPFR_PREC_MIN, 100, 100); + test_generic_compound3 (MPFR_PREC_MIN, 100, 100); ++ test_generic_compound4 (MPFR_PREC_MIN, 100, 100); ++ test_generic_compound5 (MPFR_PREC_MIN, 100, 100); ++ test_generic_compound17 (MPFR_PREC_MIN, 100, 100); ++ test_generic_compound120 (MPFR_PREC_MIN, 100, 100); ++ ++ /* Note: For small n, we need a psup high enough to avoid too many ++ "f exact while f^(-1) inexact" occurrences in bad_cases(). */ ++ bad_cases (mpfr_compound2, inv_compound2, "mpfr_compound2", ++ 0, -256, 255, 4, 128, 240, 40); ++ bad_cases (mpfr_compound3, inv_compound3, "mpfr_compound3", ++ 0, -256, 255, 4, 128, 120, 40); ++ bad_cases (mpfr_compound4, inv_compound4, "mpfr_compound4", ++ 0, -256, 255, 4, 128, 80, 40); ++ bad_cases (mpfr_compound5, inv_compound5, "mpfr_compound5", ++ 0, -256, 255, 4, 128, 80, 40); ++ bad_cases (mpfr_compound17, inv_compound17, "mpfr_compound17", ++ 0, -256, 255, 4, 128, 80, 40); ++ bad_cases (mpfr_compound120, inv_compound120, "mpfr_compound120", ++ 0, -256, 255, 4, 128, 80, 40); + + tests_end_mpfr (); + return 0; +diff -Naurd mpfr-4.2.0-a/tests/tests.c mpfr-4.2.0-b/tests/tests.c +--- mpfr-4.2.0-a/tests/tests.c 2023-01-05 17:09:48.000000000 +0000 ++++ mpfr-4.2.0-b/tests/tests.c 2023-05-17 17:17:28.588360213 +0000 +@@ -1086,10 +1086,9 @@ + } + if (inex_inv) + { +- printf ("bad_cases: f exact while f^(-1) inexact,\n" +- "due to a poor choice of the parameters.\n"); +- exit (1); +- /* alternatively, goto next_i */ ++ if (dbg) ++ printf ("bad_cases: f exact while f^(-1) inexact\n"); ++ goto does_not_match; + } + inex = 0; + break; +@@ -1112,6 +1111,10 @@ + if (mpfr_nanflag_p () || mpfr_overflow_p () || mpfr_underflow_p () + || ! mpfr_equal_p (z, y)) + { ++ /* This may occur when psup is not large enough: evaluating ++ x = (f^(-1))(y) then z = f(x) may not give back y if the ++ precision of x is too small. */ ++ does_not_match: + if (dbg) + { + printf ("bad_cases: inverse doesn't match for %s\ny = ", diff --git a/source/l/mpfr/patches/patch09 b/source/l/mpfr/patches/patch09 new file mode 100644 index 000000000..69d199d3d --- /dev/null +++ b/source/l/mpfr/patches/patch09 @@ -0,0 +1,105 @@ +diff -Naurd mpfr-4.2.0-a/PATCHES mpfr-4.2.0-b/PATCHES +--- mpfr-4.2.0-a/PATCHES 2023-05-17 17:19:35.484201703 +0000 ++++ mpfr-4.2.0-b/PATCHES 2023-05-17 17:19:35.596201603 +0000 +@@ -0,0 +1 @@ ++printf_large_prec_for_g +diff -Naurd mpfr-4.2.0-a/VERSION mpfr-4.2.0-b/VERSION +--- mpfr-4.2.0-a/VERSION 2023-05-17 17:17:28.600360192 +0000 ++++ mpfr-4.2.0-b/VERSION 2023-05-17 17:19:35.596201603 +0000 +@@ -1 +1 @@ +-4.2.0-p8 ++4.2.0-p9 +diff -Naurd mpfr-4.2.0-a/src/mpfr.h mpfr-4.2.0-b/src/mpfr.h +--- mpfr-4.2.0-a/src/mpfr.h 2023-05-17 17:17:28.596360199 +0000 ++++ mpfr-4.2.0-b/src/mpfr.h 2023-05-17 17:19:35.592201606 +0000 +@@ -27,7 +27,7 @@ + #define MPFR_VERSION_MAJOR 4 + #define MPFR_VERSION_MINOR 2 + #define MPFR_VERSION_PATCHLEVEL 0 +-#define MPFR_VERSION_STRING "4.2.0-p8" ++#define MPFR_VERSION_STRING "4.2.0-p9" + + /* User macros: + MPFR_USE_FILE: Define it to make MPFR define functions dealing +diff -Naurd mpfr-4.2.0-a/src/vasprintf.c mpfr-4.2.0-b/src/vasprintf.c +--- mpfr-4.2.0-a/src/vasprintf.c 2023-01-05 17:09:48.000000000 +0000 ++++ mpfr-4.2.0-b/src/vasprintf.c 2023-05-17 17:19:35.576201620 +0000 +@@ -1888,7 +1888,7 @@ + precision T-1. + where T is the threshold computed below and X is the exponent + that would be displayed with style 'e' and precision T-1. */ +- int threshold; ++ mpfr_intmax_t threshold; + mpfr_exp_t x, e, k; + struct decimal_info dec_info; + +@@ -1920,9 +1920,15 @@ + e = e <= 0 ? k : (e + 2) / 3 + (k <= 0 ? 0 : k); + MPFR_ASSERTD (e >= 1); + ++ if (e > threshold) ++ e = threshold; ++ ++ /* error if e does not fit in size_t (for mpfr_get_str) */ ++ if (e > (size_t) -1) ++ goto error; ++ + dec_info.str = mpfr_get_str (NULL, &dec_info.exp, 10, +- e < threshold ? e : threshold, +- p, spec.rnd_mode); ++ e, p, spec.rnd_mode); + register_string (np->sl, dec_info.str); + /* mpfr_get_str corresponds to a significand between 0.1 and 1, + whereas here we want a significand between 1 and 10. */ +diff -Naurd mpfr-4.2.0-a/src/version.c mpfr-4.2.0-b/src/version.c +--- mpfr-4.2.0-a/src/version.c 2023-05-17 17:17:28.600360192 +0000 ++++ mpfr-4.2.0-b/src/version.c 2023-05-17 17:19:35.592201606 +0000 +@@ -25,5 +25,5 @@ + const char * + mpfr_get_version (void) + { +- return "4.2.0-p8"; ++ return "4.2.0-p9"; + } +diff -Naurd mpfr-4.2.0-a/tests/tsprintf.c mpfr-4.2.0-b/tests/tsprintf.c +--- mpfr-4.2.0-a/tests/tsprintf.c 2023-04-17 21:17:39.784645229 +0000 ++++ mpfr-4.2.0-b/tests/tsprintf.c 2023-05-17 17:19:35.576201620 +0000 +@@ -1620,6 +1620,30 @@ + mpfr_clear (x); + } + ++/* On 2023-03-22, on a 64-bit Linux machine (thus with 32-bit int), ++ the case %.2147483648Rg yields an incorrect size computation and ++ MPFR wants to allocate 18446744071562070545 bytes. With assertion ++ checking (--enable-assert), one gets: ++ vasprintf.c:1908: MPFR assertion failed: threshold >= 1 ++ ++ This case should either succeed or fail as reaching an environmental limit ++ like with glibc (note that the precision does not fit in an int). ++*/ ++static void ++large_prec_for_g (void) ++{ ++ mpfr_t x; ++ int r; ++ ++ mpfr_init2 (x, 128); ++ mpfr_set_ui (x, 1, MPFR_RNDN); ++ r = mpfr_snprintf (NULL, 0, "%.2147483647Rg\n", x); ++ MPFR_ASSERTN (r == 2); ++ r = mpfr_snprintf (NULL, 0, "%.2147483648Rg\n", x); ++ MPFR_ASSERTN (r == 2 || r < 0); ++ mpfr_clear (x); ++} ++ + #if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE) + + /* The following tests should be equivalent to those from test_locale() +@@ -1793,6 +1817,7 @@ + percent_n (); + mixed (); + check_length_overflow (); ++ large_prec_for_g (); + test_locale (); + + if (getenv ("MPFR_CHECK_LIBC_PRINTF")) -- cgit v1.2.3