summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2004-04-21 01:51:01 +0000
committerCaleb Tennis <caleb@gentoo.org>2004-04-21 01:51:01 +0000
commitc5b158862df911204fa4ef4013bd5930e04a028f (patch)
tree7887d433a0cf59a9c4ee91e5b79c9f606a3ef31d /kde-base/arts/files
parentRemove old version (Manifest recommit) (diff)
downloadgentoo-2-c5b158862df911204fa4ef4013bd5930e04a028f.tar.gz
gentoo-2-c5b158862df911204fa4ef4013bd5930e04a028f.tar.bz2
gentoo-2-c5b158862df911204fa4ef4013bd5930e04a028f.zip
remove old version
Diffstat (limited to 'kde-base/arts/files')
-rw-r--r--kde-base/arts/files/digest-arts-1.0.5b3
-rw-r--r--kde-base/arts/files/tmp-mcop-user-fix.patch33
2 files changed, 0 insertions, 36 deletions
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 <errno.h>
- #include <config.h>
- #include <ctype.h>
-+#include <pwd.h> //included to get logname from uid
- #include <map>
-
- 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)