Created attachment 238221 [details] Patch for mpfr * Switch to DISTVERSION to follow Porters Handbook more closely * Use mirrors are first and fallback to main site if they fail * Fix PATCH_SITES, only main site hosts patch files (unused right now) Compile and runtime tested on FreeBSD 13.1-STABLE stable/13-n252834-a7766860e0f (amd64) (make, make test, make check-plist) Poudriere testport OK 12.3-RELEASE (amd64) Poudriere testport OK 13.1-RELEASE (i386) bofh@ kindly offered to do a build test on 13.1 (amd64)
Created attachment 238264 [details] Patch for mpfr v2 Backport upstream commit 0ce17bae34a6c54de31b126f969d3ddd72c6bc37 Reference: https://gitlab.inria.fr/mpfr/mpfr/-/commit/0ce17bae34a6c54de31b126f969d3ddd72c6bc37
This should fix 267897 and 267906. I'll ask bofh@ to do another build test. It also looks like we can drop files/patch-src_vasprintf.c ?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0ea790b313858a92030aea1cebe88ef9f8408a20 commit 0ea790b313858a92030aea1cebe88ef9f8408a20 Author: Alex Dupre <ale@FreeBSD.org> AuthorDate: 2022-11-30 08:21:48 +0000 Commit: Alex Dupre <ale@FreeBSD.org> CommitDate: 2022-11-30 08:22:57 +0000 math/mpfr: update to 4.1.1 release PR: 267896 Submitted by: diizzy math/mpfr/Makefile | 11 ++++----- math/mpfr/distinfo | 34 ++++------------------------ math/mpfr/files/patch-src_vasprintf.c (gone) | 10 -------- math/mpfr/pkg-plist | 2 +- 4 files changed, 11 insertions(+), 46 deletions(-)