git: a64fa7129455 - main - x11/swaylock: update to 1.7.2

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 24 Aug 2024 00:36:51 UTC
The branch main has been updated by jbeich:

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

commit a64fa71294557f85550abce3b3d18b9f861f0c7d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-08-23 20:39:33 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-08-24 00:35:45 +0000

    x11/swaylock: update to 1.7.2
    
    Changes:        https://github.com/swaywm/swaylock/releases/tag/v1.7.2
    Reported by:    GitHub (watch releases)
---
 x11/swaylock/Makefile | 7 +++++--
 x11/swaylock/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/x11/swaylock/Makefile b/x11/swaylock/Makefile
index 8f85d4e2dbee..d96c11c8c669 100644
--- a/x11/swaylock/Makefile
+++ b/x11/swaylock/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	swaylock
 DISTVERSIONPREFIX?=	v
-DISTVERSION?=	1.7.2
-PORTREVISION?=	2
+DISTVERSION?=	1.8.0
+PORTREVISION?=	0
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -44,5 +44,8 @@ post-patch:
 	@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
 		-e "s/meson.project_version()/'${DISTVERSIONFULL}'/" \
 		${WRKSRC}/meson.build
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275328
+	@${REINPLACE_CMD} -e 's/_POSIX_C_SOURCE 200809L/_XOPEN_SOURCE 700/' \
+		${WRKSRC}/main.c
 
 .include <bsd.port.mk>
diff --git a/x11/swaylock/distinfo b/x11/swaylock/distinfo
index b6ac334ba6fc..06452cd91cf1 100644
--- a/x11/swaylock/distinfo
+++ b/x11/swaylock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674942867
-SHA256 (swaywm-swaylock-v1.7.2_GH0.tar.gz) = a42b456cc82bcaea9732d31e85e7d77a8ddd547759fba817e1617d8a1fd003e5
-SIZE (swaywm-swaylock-v1.7.2_GH0.tar.gz) = 37368
+TIMESTAMP = 1724445573
+SHA256 (swaywm-swaylock-v1.8.0_GH0.tar.gz) = 7efc5eb6aa2fc00a3435621fc78df5bab8afbe17f7d8815241f4fbd4bbeed7f8
+SIZE (swaywm-swaylock-v1.8.0_GH0.tar.gz) = 33073