Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
diff options
context:
space:
mode:
Diffstat (limited to 'config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch')
-rw-r--r--config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch15
1 files changed, 6 insertions, 9 deletions
diff --git a/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch b/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
index bb16883..17988ca 100644
--- a/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
+++ b/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
@@ -1,14 +1,11 @@
-diff -rN -u old-telepathy-gabble-rainbow/src/tube-stream.c new-telepathy-gabble-rainbow/src/tube-stream.c
---- old-telepathy-gabble-rainbow/src/tube-stream.c 2007-12-11 16:28:48.000000000 +0100
-+++ new-telepathy-gabble-rainbow/src/tube-stream.c 2007-12-11 16:28:48.000000000 +0100
-@@ -650,6 +650,9 @@
- "Error binding socket: %s", g_strerror (errno));
+--- a/src/tube-stream.c
++++ b/src/tube-stream.c
+@@ -667,6 +667,8 @@ tube_stream_open (GabbleTubeStream *self,
+ g_free (path);
return FALSE;
}
-+
+ /* Everyone can use the socket */
-+ chmod (addr.sun_path, 0777);
++ chmod (path, 0777);
+ g_free (path);
}
else if (priv->address_type == TP_SOCKET_ADDRESS_TYPE_IPV4)
- {
-