diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-31 02:46:19 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-31 02:46:19 -0600 |
commit | 487cb648a65392c0e2f409a83e8ba7d37d6e04cd (patch) | |
tree | 6a16c5e80fa38bdaee8baac31af644fb33730d6a /ubuntu/maverick_automake/dependencies/arts | |
parent | e7932ac715dd404fc17b20a0bca9b6a498d991c5 (diff) | |
download | tde-packaging-487cb648a65392c0e2f409a83e8ba7d37d6e04cd.tar.gz tde-packaging-487cb648a65392c0e2f409a83e8ba7d37d6e04cd.zip |
Rename ksocket and kcache on Debian and Ubuntu
Diffstat (limited to 'ubuntu/maverick_automake/dependencies/arts')
-rw-r--r-- | ubuntu/maverick_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff | 8 |
1 files changed, 4 insertions, 4 deletions
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) |