openbsd-ports/www/liferea/patches/patch-src_ui_ui_session_c
landry 68396153f6 Update to liferea 1.8.4.
add a patch replacing an ugly hardcoded '/bin/true' which was spamming
session-manager output upon liferea close.

ok ajacoutot@ sthen@
2012-04-07 13:21:53 +00:00

14 lines
592 B
Plaintext

$OpenBSD: patch-src_ui_ui_session_c,v 1.1 2012/04/07 13:21:53 landry Exp $
Session manager complains otherwise...
--- src/ui/ui_session.c.orig Fri Apr 6 12:03:04 2012
+++ src/ui/ui_session.c Fri Apr 6 12:03:49 2012
@@ -490,7 +490,7 @@ void session_init(const gchar *argv0, gchar *previous_
save their current status' bla bla if we don't have it and the user checks 'Save Session'
when they log out */
cmd = g_new(gchar *, 2);
- cmd[0] = g_strdup("/bin/true");
+ cmd[0] = g_strdup("true");
cmd[1] = NULL;
session_set_array(session, SmDiscardCommand, cmd);
g_strfreev(cmd);