aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-session/no-rpmatch.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-06-07 05:48:32 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-07 05:49:20 +0000
commit0f1ad5e2402fc1e2ae69f8cfc01386e836297714 (patch)
tree67980acc31a19350b8c3fcfdb00a6163e284fbf4 /testing/gnome-session/no-rpmatch.patch
parent1b11055c54a9100f6c62d38cbca4fa2d3f74e1b1 (diff)
downloadaports-0f1ad5e2402fc1e2ae69f8cfc01386e836297714.tar.bz2
aports-0f1ad5e2402fc1e2ae69f8cfc01386e836297714.tar.xz
testing/gnome-session: new aport
Diffstat (limited to 'testing/gnome-session/no-rpmatch.patch')
-rw-r--r--testing/gnome-session/no-rpmatch.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/gnome-session/no-rpmatch.patch b/testing/gnome-session/no-rpmatch.patch
new file mode 100644
index 0000000000..ea41bf46e5
--- /dev/null
+++ b/testing/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;