File tmux-socket-path.patch of Package tmux.openSUSE_13.1_Update

--- tmux-1.9a.orig/tmux.c
+++ tmux-1.9a/tmux.c
@@ -137,7 +137,7 @@ makesocketpath(const char *label)
 	else if ((s = getenv("TMPDIR")) != NULL && *s != '\0')
 		xsnprintf(base, sizeof base, "%s/tmux-%u", s, uid);
 	else
-		xsnprintf(base, sizeof base, "%s/tmux-%u", _PATH_TMP, uid);
+		xsnprintf(base, sizeof base, "/run/tmux/%u", uid);
 
 	if (mkdir(base, S_IRWXU) != 0 && errno != EEXIST)
 		return (NULL);
openSUSE Build Service is sponsored by