git: 2bb7987ee712 - main - devel/hyprutils: replace workaround with upstream fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 28 Dec 2024 00:01:33 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2bb7987ee712a5f0bcaa5d26c581c7200a36463b

commit 2bb7987ee712a5f0bcaa5d26c581c7200a36463b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-12-27 19:12:31 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-12-28 00:00:54 +0000

    devel/hyprutils: replace workaround with upstream fix
---
 devel/hyprutils/Makefile | 7 ++++---
 devel/hyprutils/distinfo | 2 ++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile
index 6eefefbe7ea2..6733f321cea4 100644
--- a/devel/hyprutils/Makefile
+++ b/devel/hyprutils/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	hyprutils
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.3.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	8f15d45b120b.patch:-p1 # https://github.com/hyprwm/hyprutils/issues/28
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Hyprland utilities library used across the ecosystem
 WWW=		https://github.com/hyprwm/hyprutils
@@ -17,9 +21,6 @@ USE_XORG=	pixman
 GH_ACCOUNT=	hyprwm
 PLIST_SUB=	VERSION=${DISTVERSION:C/-.*//}
 
-# XXX tests
-USES+=		localbase:ldflags 
-
 post-patch:
 # Respect PREFIX for system-wide config
 	@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
diff --git a/devel/hyprutils/distinfo b/devel/hyprutils/distinfo
index 5123d1abfdaa..0ab3557eaf31 100644
--- a/devel/hyprutils/distinfo
+++ b/devel/hyprutils/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1734908734
 SHA256 (hyprwm-hyprutils-v0.3.0_GH0.tar.gz) = 07bf2d199aeb0e41e1bfe072572742acaf201f0af2bf76ff86a718605d2431bb
 SIZE (hyprwm-hyprutils-v0.3.0_GH0.tar.gz) = 25301
+SHA256 (8f15d45b120b.patch) = 5d2b1e2b81cea89d0502b15fc0c753ead059bc152b0c71174193d9f41562d1a1
+SIZE (8f15d45b120b.patch) = 700