git: 525b413588bd - main - math/libqalculate: Add upstream patch

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Fri, 06 Dec 2024 04:55:40 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=525b413588bd6d5f7fed615125a870aec4522ee6

commit 525b413588bd6d5f7fed615125a870aec4522ee6
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-12-06 04:38:03 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-12-06 04:55:25 +0000

    math/libqalculate: Add upstream patch
    
    Fixes ans variables with autocalc activated.
---
 math/libqalculate/Makefile | 4 ++++
 math/libqalculate/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile
index 42afe5bef396..8f86b928872f 100644
--- a/math/libqalculate/Makefile
+++ b/math/libqalculate/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	libqalculate
 PORTVERSION=	5.4.0
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/
 
+PATCH_SITES=	https://github.com/Qalculate/libqalculate/commit/
+PATCHFILES+=	0d81784d2c85ca90b5a660b70862b9572be661e3.patch:-p1 # https://github.com/Qalculate/libqalculate/issues/722
+
 MAINTAINER=	jhale@FreeBSD.org
 COMMENT=	Multi-purpose desktop calculator (backend library)
 WWW=		https://qalculate.github.io/
diff --git a/math/libqalculate/distinfo b/math/libqalculate/distinfo
index 2f2280337e7e..f6a0d85a2386 100644
--- a/math/libqalculate/distinfo
+++ b/math/libqalculate/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1732614915
+TIMESTAMP = 1733459383
 SHA256 (libqalculate-5.4.0.tar.gz) = 1fe956877ff1bbb1f4b470c41cdf3d971cebbeda6a35e92282f0eea5193ac343
 SIZE (libqalculate-5.4.0.tar.gz) = 2720059
+SHA256 (0d81784d2c85ca90b5a660b70862b9572be661e3.patch) = 089fcb258c243ae55b424ce3141dda85f32e78c2259fa25d214e9369d86fc350
+SIZE (0d81784d2c85ca90b5a660b70862b9572be661e3.patch) = 963