From cc74010a61ed9a6ecb7a6eb49c3736fe2b3401c4 Mon Sep 17 00:00:00 2001 From: Caleb Tennis Date: Wed, 21 Apr 2004 01:51:01 +0000 Subject: remove old version --- kde-base/arts/files/digest-arts-1.0.5b | 3 --- kde-base/arts/files/tmp-mcop-user-fix.patch | 33 ----------------------------- 2 files changed, 36 deletions(-) delete mode 100644 kde-base/arts/files/digest-arts-1.0.5b delete mode 100644 kde-base/arts/files/tmp-mcop-user-fix.patch (limited to 'kde-base/arts/files') diff --git a/kde-base/arts/files/digest-arts-1.0.5b b/kde-base/arts/files/digest-arts-1.0.5b deleted file mode 100644 index 54813bde9dbb..000000000000 --- a/kde-base/arts/files/digest-arts-1.0.5b +++ /dev/null @@ -1,3 +0,0 @@ -MD5 226c503848cbc85a5daacb28eef4a0a6 /files/tmp-mcop-user-fix.patch 1045 -MD5 e3ca52900ec6a6d7c3646dfac9e028a8 /arts-1.0.5b.ebuild 1438 -MD5 f0459975c08bcc6456a4d88d6f224e80 arts-1.0.5b.tar.bz2 1020983 diff --git a/kde-base/arts/files/tmp-mcop-user-fix.patch b/kde-base/arts/files/tmp-mcop-user-fix.patch deleted file mode 100644 index 1a24fd51179d..000000000000 --- a/kde-base/arts/files/tmp-mcop-user-fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- ../foo/arts-1.0.4/mcop/mcoputils.cc 2002-02-09 14:10:12.000000000 +0100 -+++ mcop/mcoputils.cc 2002-12-15 21:41:24.000000000 +0100 -@@ -31,6 +31,7 @@ - #include - #include - #include -+#include //included to get logname from uid - #include - - using namespace std; -@@ -73,8 +74,20 @@ - - string MCOPUtils::createFilePath(string name) - { -- string logname = "unknown"; -- if(getenv("LOGNAME")) logname = getenv("LOGNAME"); -+// changed to get logname from uid instead of environment variable -+// LOGNAME to avoid trouble when LOGNAME does not exist or -+// is wrong (such as in kdesu environment) -+// S. Voitzsch Sebastian.Voitzsch@web.de -+// 2002-12-03 -+ -+ struct passwd *pwd = NULL; -+ pwd = getpwuid(geteuid()); -+ if (pwd == NULL) arts_fatal("could not get user name from user id"); -+ -+ string logname = "unknown"; -+ logname = pwd->pw_name; -+ -+// if(getenv("LOGNAME")) logname = getenv("LOGNAME"); - - string tmpdir = "/tmp/mcop-"+uglify(logname); - if(mkdir(tmpdir.c_str(),0700) != 0 && errno != EEXIST) -- cgit v1.2.3-65-gdbad