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 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