summaryrefslogtreecommitdiff
path: root/x11/gnome-session/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-session/patches/patch-ab')
-rw-r--r--x11/gnome-session/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/gnome-session/patches/patch-ab b/x11/gnome-session/patches/patch-ab
new file mode 100644
index 00000000000..d19567c1b31
--- /dev/null
+++ b/x11/gnome-session/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2004/09/21 16:58:42 jmmv Exp $
+
+--- gnome-session/main.c.orig 2004-08-16 15:36:51.000000000 +0200
++++ gnome-session/main.c
+@@ -395,6 +395,11 @@ main (int argc, char *argv[])
+ ep = g_strconcat ("DISPLAY=", gdk_get_display (), NULL);
+ putenv (ep);
+
++ ep = "XDG_DATA_DIRS=" PREFIX "/share/";
++ putenv (ep);
++ ep = "XDG_CONFIG_DIRS=" PKG_SYSCONFDIR "/xdg/";
++ putenv (ep);
++
+ ignore (SIGPIPE);
+
+ /* Need DISPLAY set */