aboutsummaryrefslogblamecommitdiffstats
path: root/testing/gnome-session/no-rpmatch.patch
blob: ea41bf46e5794b5ae1cc14ef3a618b10713a8e2c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














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