git: 0b00801a99ec - main - math/p5-Math-MPFR: Update to 4.31

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:48:28 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b00801a99eccff6107e9fe99b339e1a94c5e7e1

commit 0b00801a99eccff6107e9fe99b339e1a94c5e7e1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:32:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:39:44 +0000

    math/p5-Math-MPFR: Update to 4.31
    
    Changes:        https://metacpan.org/dist/Math-MPFR/changes
---
 math/p5-Math-MPFR/Makefile                        |  2 +-
 math/p5-Math-MPFR/distinfo                        |  6 +++---
 math/p5-Math-MPFR/files/patch-math_mpfr_include.h | 10 ++++++++++
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/math/p5-Math-MPFR/Makefile b/math/p5-Math-MPFR/Makefile
index 610db351125b..a6a4220de40b 100644
--- a/math/p5-Math-MPFR/Makefile
+++ b/math/p5-Math-MPFR/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	Math-MPFR
-PORTVERSION=	4.29
+PORTVERSION=	4.31
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
diff --git a/math/p5-Math-MPFR/distinfo b/math/p5-Math-MPFR/distinfo
index 1e856acf8b08..dfb1a847ac20 100644
--- a/math/p5-Math-MPFR/distinfo
+++ b/math/p5-Math-MPFR/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715843826
-SHA256 (Math-MPFR-4.29.tar.gz) = 2f73b5a831100394605809429482fefef4a182f35da1700eeea2698dc54889a0
-SIZE (Math-MPFR-4.29.tar.gz) = 222826
+TIMESTAMP = 1731679896
+SHA256 (Math-MPFR-4.31.tar.gz) = ee7671c94fbd0e3b0937599f5527a9180374da0a67bb3b2e2e1cc64e52d3161f
+SIZE (Math-MPFR-4.31.tar.gz) = 226344
diff --git a/math/p5-Math-MPFR/files/patch-math_mpfr_include.h b/math/p5-Math-MPFR/files/patch-math_mpfr_include.h
new file mode 100644
index 000000000000..14bb0e1e9c6b
--- /dev/null
+++ b/math/p5-Math-MPFR/files/patch-math_mpfr_include.h
@@ -0,0 +1,10 @@
+--- math_mpfr_include.h.orig	2024-11-13 04:28:47 UTC
++++ math_mpfr_include.h
+@@ -178,7 +178,6 @@ FALLBACK_NOTIFY          : If defined, $Math::MPFR::do
+ #include <float.h>
+ 
+ #if defined(MPFR_WANT_FLOAT128) || defined(USE_QUADMATH)
+-#include <quadmath.h>
+ #if defined(USE_QUADMATH) && defined(MPFR_WANT_FLOAT128) && defined(MPFR_VERSION) && MPFR_VERSION >= MPFR_VERSION_NUM(4,0,0)
+ #define CAN_PASS_FLOAT128
+ #endif