summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-09 03:21:35 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-09 03:21:35 +0800
commiteb15839a7f90f0ce5aeb3b8c67453e61cfce4c18 (patch)
tree530e3dc7bc7e8e91f0ddf6c0be5134c5c410c62f
parentb0904f810552e07753ccce5f706df82173bbf2f3 (diff)
downloadmarcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar
marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.gz
marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.bz2
marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.lz
marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.xz
marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.zst
marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.zip
Fix functionality with the new GDM.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9372 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11/fast-user-switch-applet/Makefile4
-rw-r--r--x11/fast-user-switch-applet/files/patch-src_gdm-queue.c17
2 files changed, 15 insertions, 6 deletions
diff --git a/x11/fast-user-switch-applet/Makefile b/x11/fast-user-switch-applet/Makefile
index 1f8a61eec..e7bf1e66f 100644
--- a/x11/fast-user-switch-applet/Makefile
+++ b/x11/fast-user-switch-applet/Makefile
@@ -3,11 +3,11 @@
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/fast-user-switch-applet/Makefile,v 1.24 2007/04/28 16:57:52 marcus Exp $
+# $MCom: ports/x11/fast-user-switch-applet/Makefile,v 1.25 2007/05/19 21:36:27 marcus Exp $
PORTNAME= fast-user-switch-applet
PORTVERSION= 2.18.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
diff --git a/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c b/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c
index a38c96493..cd89dc462 100644
--- a/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c
+++ b/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c
@@ -1,10 +1,19 @@
---- src/gdm-queue.c.orig Thu Nov 16 12:39:45 2006
-+++ src/gdm-queue.c Thu Nov 16 12:40:17 2006
-@@ -31,6 +31,7 @@
- #include <sys/socket.h>
+--- src/gdm-queue.c.orig 2007-04-09 12:01:03.000000000 -0400
++++ src/gdm-queue.c 2007-08-08 15:18:12.000000000 -0400
+@@ -32,6 +32,7 @@
+ #include <sys/stat.h>
#include <sys/un.h>
#include <errno.h>
+#include <signal.h>
#include <stdio.h>
#include "gdm-queue.h"
+@@ -237,7 +238,7 @@ gboolean gdm_run_queue (void *dummy)
+
+ 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!");