$OpenBSD: patch-gnome-session_main_c,v 1.19 2017/04/17 10:51:02 ajacoutot Exp $ XXX no rpmatch(3) on OpenBSD --- a/gnome-session/main.c.orig Wed Apr 12 16:35:48 2017 +++ b/gnome-session/main.c Mon Apr 17 12:40:35 2017 @@ -311,7 +311,7 @@ main (int argc, char **argv) debug_string = g_getenv ("GNOME_SESSION_DEBUG"); if (debug_string != NULL) { - debug = rpmatch (debug_string) == TRUE || atoi (debug_string) == 1; + debug = atoi (debug_string) == 1; } error = NULL;