summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2019-03-06 08:12:36 +0000
committergutteridge <gutteridge@pkgsrc.org>2019-03-06 08:12:36 +0000
commit9db6213a0466a0829c59a9ded696f62ee1fdf938 (patch)
treee63946143c284d8a48cfaf74920e26d0edd6a517 /x11
parentb7cb121ccc43caa4f7f25a5b1d6a023ef41193eb (diff)
downloadpkgsrc-9db6213a0466a0829c59a9ded696f62ee1fdf938.tar.gz
mate-session-manager: amend patch file
Diffstat (limited to 'x11')
-rw-r--r--x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c b/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c
index f27b4ea5176..7e3f71fc36b 100644
--- a/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c
+++ b/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-mate-session_gsm-systemd.c,v 1.1 2019/03/06 07:37:51 gutteridge Exp $
+$NetBSD: patch-mate-session_gsm-systemd.c,v 1.2 2019/03/06 08:12:36 gutteridge Exp $
Deal with systemd-only function calls.
@@ -16,7 +16,7 @@ Deal with systemd-only function calls.
+#endif
+
+ if (session == NULL)
-+ return;
++ return FALSE;
if (ret != 0) {
return FALSE;
@@ -27,7 +27,7 @@ Deal with systemd-only function calls.
+#endif
+
+ if (sessions == NULL)
-+ return;
++ return FALSE;
if (ret <= 0) {
free (session);