git: 20136ae84fd5 - main - x11/swaylock: revert to 1.7.2 due to bogus commit message

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

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

commit 20136ae84fd5feefddea86ec8d1a7428125f0c01
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-08-24 17:15:31 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-08-24 18:09:11 +0000

    x11/swaylock: revert to 1.7.2 due to bogus commit message
    
    This reverts commit a64fa71294557f85550abce3b3d18b9f861f0c7d.
---
 x11/swaylock/Makefile | 7 ++-----
 x11/swaylock/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/x11/swaylock/Makefile b/x11/swaylock/Makefile
index d96c11c8c669..8f85d4e2dbee 100644
--- a/x11/swaylock/Makefile
+++ b/x11/swaylock/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	swaylock
 DISTVERSIONPREFIX?=	v
-DISTVERSION?=	1.8.0
-PORTREVISION?=	0
+DISTVERSION?=	1.7.2
+PORTREVISION?=	2
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -44,8 +44,5 @@ 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 06452cd91cf1..b6ac334ba6fc 100644
--- a/x11/swaylock/distinfo
+++ b/x11/swaylock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724445573
-SHA256 (swaywm-swaylock-v1.8.0_GH0.tar.gz) = 7efc5eb6aa2fc00a3435621fc78df5bab8afbe17f7d8815241f4fbd4bbeed7f8
-SIZE (swaywm-swaylock-v1.8.0_GH0.tar.gz) = 33073
+TIMESTAMP = 1674942867
+SHA256 (swaywm-swaylock-v1.7.2_GH0.tar.gz) = a42b456cc82bcaea9732d31e85e7d77a8ddd547759fba817e1617d8a1fd003e5
+SIZE (swaywm-swaylock-v1.7.2_GH0.tar.gz) = 37368