git: af5813bedf38 - main - sysutils/waynergy: update to 0.0.13

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 15 Sep 2022 10:21:59 UTC
The branch main has been updated by bapt:

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

commit af5813bedf3890b371a3a35bde02555fb28a7936
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-09-15 09:03:20 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-09-15 10:20:28 +0000

    sysutils/waynergy: update to 0.0.13
---
 sysutils/waynergy/Makefile                   |  2 +-
 sysutils/waynergy/distinfo                   |  6 +++---
 sysutils/waynergy/files/patch-src_wl__idle.c | 10 ++++++++++
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/sysutils/waynergy/Makefile b/sysutils/waynergy/Makefile
index 65bf6715450e..46d792512533 100644
--- a/sysutils/waynergy/Makefile
+++ b/sysutils/waynergy/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	waynergy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.0.12
+DISTVERSION=	0.0.13
 CATEGORIES=	sysutils wayland
 
 MAINTAINER=	bapt@FreeBSD.org
diff --git a/sysutils/waynergy/distinfo b/sysutils/waynergy/distinfo
index efc3bebce7fd..1e66c0d0bcb5 100644
--- a/sysutils/waynergy/distinfo
+++ b/sysutils/waynergy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662536324
-SHA256 (r-c-f-waynergy-v0.0.12_GH0.tar.gz) = c9274f4e7d382f39df15e427820cb49a224a3a0e9dc1add1ccbcac3a3bbc93a2
-SIZE (r-c-f-waynergy-v0.0.12_GH0.tar.gz) = 68787
+TIMESTAMP = 1663232457
+SHA256 (r-c-f-waynergy-v0.0.13_GH0.tar.gz) = e77168278781dd6fe8c2d15fdb5bc5e0ad05b2430687081f8969ff20559d7459
+SIZE (r-c-f-waynergy-v0.0.13_GH0.tar.gz) = 69748
diff --git a/sysutils/waynergy/files/patch-src_wl__idle.c b/sysutils/waynergy/files/patch-src_wl__idle.c
new file mode 100644
index 000000000000..80163b35f251
--- /dev/null
+++ b/sysutils/waynergy/files/patch-src_wl__idle.c
@@ -0,0 +1,10 @@
+--- src/wl_idle.c.orig	2022-09-07 10:43:08 UTC
++++ src/wl_idle.c
+@@ -2,6 +2,7 @@
+ #include <signal.h>
+ #include <spawn.h>
+ 
++extern char **environ;
+ static pid_t gnome_session_inhibit = -1;
+ 
+ static void gnome_inhibit_stop(void)