aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/gnome-session/no-rpmatch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/gnome-session/no-rpmatch.patch')
-rw-r--r--unmaintained/gnome-session/no-rpmatch.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/unmaintained/gnome-session/no-rpmatch.patch b/unmaintained/gnome-session/no-rpmatch.patch
new file mode 100644
index 0000000000..ea41bf46e5
--- /dev/null
+++ b/unmaintained/gnome-session/no-rpmatch.patch
@@ -0,0 +1,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;