diff options
author | drochner <drochner@pkgsrc.org> | 2000-06-02 13:44:16 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2000-06-02 13:44:16 +0000 |
commit | b268fe607b6f4e887c80e099f97069988593fef3 (patch) | |
tree | f56c64d8d0152a1fce44c31dcc5b4dbbad989e86 /x11/kdelibs | |
parent | e2b06d782b92eb7d13240e0976db34cee8471e83 (diff) | |
download | pkgsrc-b268fe607b6f4e887c80e099f97069988593fef3.tar.gz |
fix directory creation (trailing "/" passed to mkdir(2))
Diffstat (limited to 'x11/kdelibs')
-rw-r--r-- | x11/kdelibs/files/patch-sum | 3 | ||||
-rw-r--r-- | x11/kdelibs/patches/patch-ac | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/x11/kdelibs/files/patch-sum b/x11/kdelibs/files/patch-sum index 1e7f57e22fd..264450279f7 100644 --- a/x11/kdelibs/files/patch-sum +++ b/x11/kdelibs/files/patch-sum @@ -1,4 +1,5 @@ -$NetBSD: patch-sum,v 1.3 2000/01/26 16:25:43 kleink Exp $ +$NetBSD: patch-sum,v 1.4 2000/06/02 13:44:16 drochner Exp $ MD5 (patch-aa) = 2933281323e49abecff7e2527032f1a1 MD5 (patch-ab) = 5d59a2d5eb50bb0883d3aa4ef5e0c9a5 +MD5 (patch-ac) = ff8cb796b36e159941684a64522acffe diff --git a/x11/kdelibs/patches/patch-ac b/x11/kdelibs/patches/patch-ac new file mode 100644 index 00000000000..d050ad7a893 --- /dev/null +++ b/x11/kdelibs/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2000/06/02 13:44:18 drochner Exp $ + +--- kab/addressbook.cc.orig Thu Jun 1 17:02:20 2000 ++++ kab/addressbook.cc Thu Jun 1 17:04:13 2000 +@@ -83,7 +83,7 @@ + } + LG(GUARD, "AddressBook constructor: checking user directory.\n"); + dir=KApplication::localkdedir(); +- dir+=(string)"/share/apps/kab/"; ++ dir+=(string)"/share/apps/kab"; + if(access(dir.c_str(), F_OK)!=0) + { + cerr << i18n +@@ -109,7 +109,7 @@ + LG(GUARD, "AddressBook constructor: local data dir found.\n"); + } + // ----- is it locked ? +- filename=dir+(string)DBFileName; ++ filename=dir+(string)"/"+(string)DBFileName; + if(ConfigDB::IsLocked(filename)!=0) + { + LG(GUARD, "AddressBook constructor: the file is locked.\n"); |