From 487cb648a65392c0e2f409a83e8ba7d37d6e04cd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 31 Jan 2012 02:46:19 -0600 Subject: Rename ksocket and kcache on Debian and Ubuntu --- .../dependencies/arts/debian/patches/11_path_max_hurd.diff | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ubuntu/maverick_automake/dependencies/arts/debian') diff --git a/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff b/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff index 855ba5729..b35d4a2e0 100644 --- a/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff +++ b/ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff @@ -54,11 +54,11 @@ - strncpy(user_tmp_dir, tmp, PATH_MAX ); - user_tmp_dir[ PATH_MAX ] = '\0'; -- strncat(user_tmp_dir, "/ksocket-", PATH_MAX - strlen(user_tmp_dir) ); +- strncat(user_tmp_dir, "/tdesocket-", PATH_MAX - strlen(user_tmp_dir) ); - user_tmp_dir[ PATH_MAX ] = '\0'; - strncat(user_tmp_dir, pw_ent->pw_name, PATH_MAX - strlen(user_tmp_dir)); - user_tmp_dir[ PATH_MAX ] = '\0'; -+ user_tmp_dir = string(tmp) + "/ksocket-" + string(pw_ent->pw_name); ++ user_tmp_dir = string(tmp) + "/tdesocket-" + string(pw_ent->pw_name); if (!kde_home || !kde_home[0]) { @@ -363,10 +363,10 @@ - char tmp_prefix[PATH_MAX+1]; - strcpy(tmp_prefix, tmp); -- strcat(tmp_prefix, "/ksocket-"); +- strcat(tmp_prefix, "/tdesocket-"); - - build_link(tmp_prefix, "/socket-"); -+ build_link(string(tmp) + "/ksocket-", "/socket-"); ++ build_link(string(tmp) + "/tdesocket-", "/socket-"); mcop_dir = locate_mcop_dir(); } if (!mcop_dir) -- cgit v1.2.1