summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2007-12-15 22:48:46 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2007-12-15 22:48:46 +0000
commit9578faf85982eb6945efa0bafbc76c4fccc168fa (patch)
tree84afc2b854dc0091a9c1deb934f87bb1bb23ebf5 /gnome-extra/fast-user-switch-applet/files/fast-user-switch-applet-2.20.0-gdm-socket.patch
parentVersion bump. (diff)
downloadgentoo-2-9578faf85982eb6945efa0bafbc76c4fccc168fa.tar.gz
gentoo-2-9578faf85982eb6945efa0bafbc76c4fccc168fa.tar.bz2
gentoo-2-9578faf85982eb6945efa0bafbc76c4fccc168fa.zip
add an upstream patch to fix gdm socket handling, fixes bug #199941
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'gnome-extra/fast-user-switch-applet/files/fast-user-switch-applet-2.20.0-gdm-socket.patch')
-rw-r--r--gnome-extra/fast-user-switch-applet/files/fast-user-switch-applet-2.20.0-gdm-socket.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnome-extra/fast-user-switch-applet/files/fast-user-switch-applet-2.20.0-gdm-socket.patch b/gnome-extra/fast-user-switch-applet/files/fast-user-switch-applet-2.20.0-gdm-socket.patch
new file mode 100644
index 000000000000..08010c2cd86c
--- /dev/null
+++ b/gnome-extra/fast-user-switch-applet/files/fast-user-switch-applet-2.20.0-gdm-socket.patch
@@ -0,0 +1,13 @@
+Index: src/gdm-queue.c
+===================================================================
+--- src/gdm-queue.c (revision 435)
++++ src/gdm-queue.c (working copy)
+@@ -237,7 +237,7 @@
+
+ if (stat (GDM_NEW_SOCKET_FILENAME, &file_stat) == 0)
+ strcpy (addr.sun_path, GDM_NEW_SOCKET_FILENAME);
+- if (stat (GDM_OLD_SOCKET_FILENAME, &file_stat) == 0)
++ else if (stat (GDM_OLD_SOCKET_FILENAME, &file_stat) == 0)
+ strcpy (addr.sun_path, GDM_OLD_SOCKET_FILENAME);
+ else
+ g_error ("Can't find gdm socket!");