summaryrefslogtreecommitdiffstats
path: root/ubuntu/lucid_automake/dependencies/arts/debian
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 18:56:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 18:56:08 -0600
commitb8cadac68dd320592b3a1d29dead7c5968476750 (patch)
treea0ea3846d686512fe2a88796bd402b669a056280 /ubuntu/lucid_automake/dependencies/arts/debian
parent74cd36bb1e753c42dcc7e0a14b7c86c25afd8db3 (diff)
downloadtde-packaging-b8cadac68dd320592b3a1d29dead7c5968476750.tar.gz
tde-packaging-b8cadac68dd320592b3a1d29dead7c5968476750.zip
Rename KDEHOME and KDEDIR
Diffstat (limited to 'ubuntu/lucid_automake/dependencies/arts/debian')
-rw-r--r--ubuntu/lucid_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff8
1 files changed, 4 insertions, 4 deletions
diff --git a/ubuntu/lucid_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff b/ubuntu/lucid_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff
index e2deeda88..855ba5729 100644
--- a/ubuntu/lucid_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff
+++ b/ubuntu/lucid_automake/dependencies/arts/debian/patches/11_path_max_hurd.diff
@@ -38,7 +38,7 @@
+ string user_tmp_dir;
int uid = getuid();
const char *home_dir = getenv("HOME");
- const char *kde_home = uid ? getenv("KDEHOME") : getenv("KDEROOTHOME");
+ const char *kde_home = uid ? getenv("TDEHOME") : getenv("KDEROOTHOME");
@@ -88,7 +88,7 @@
if (!tmp || !tmp[0])
tmp = "/tmp";
@@ -110,7 +110,7 @@
+ result = lstat(kde_tmp_dir.c_str(), &stat_buf);
if ((result == 0) && (S_ISDIR(stat_buf.st_mode)))
{
- /* $KDEHOME/socket-$HOSTNAME is a normal directory. Do nothing. */
+ /* $TDEHOME/socket-$HOSTNAME is a normal directory. Do nothing. */
- tmp_buf = (char *) malloc(PATH_MAX+1);
- if (!tmp_buf)
- return 0;
@@ -184,7 +184,7 @@
+ char *tmp_buf;
int uid = getuid();
const char *home_dir = getenv("HOME");
- const char *kde_home = uid ? getenv("KDEHOME") : getenv("KDEROOTHOME");
+ const char *kde_home = uid ? getenv("TDEHOME") : getenv("KDEROOTHOME");
int result;
struct stat stat_buf;
@@ -259,7 +259,7 @@
+ result = lstat(kde_tmp_dir.c_str(), &stat_buf);
if ((result == 0) && (S_ISDIR(stat_buf.st_mode)))
{
- /* $KDEHOME/tmp is a normal directory. Do nothing. */
+ /* $TDEHOME/tmp is a normal directory. Do nothing. */
- printf("Directory \"%s\" already exists.\n", kde_tmp_dir);
+ printf("Directory \"%s\" already exists.\n", kde_tmp_dir.c_str());
return 0;