summaryrefslogtreecommitdiff
path: root/devel/kdevelop
diff options
context:
space:
mode:
authorscw <scw>2000-02-02 12:01:58 +0000
committerscw <scw>2000-02-02 12:01:58 +0000
commit1f015cd54aa6af1d5c8ef3da0ee30e89bfd95496 (patch)
tree980194bd2c702eae02766a2afbfb87907b7206d5 /devel/kdevelop
parent54579035df96a8eca80f04fe1aa4a31c7070f9b0 (diff)
downloadpkgsrc-1f015cd54aa6af1d5c8ef3da0ee30e89bfd95496.tar.gz
Don't append '/' when making directories in the App Wizard.
A better place to fix this might be in Qt's QDir class...
Diffstat (limited to 'devel/kdevelop')
-rw-r--r--devel/kdevelop/files/patch-sum4
-rw-r--r--devel/kdevelop/patches/patch-ac13
-rw-r--r--devel/kdevelop/patches/patch-ad20
3 files changed, 36 insertions, 1 deletions
diff --git a/devel/kdevelop/files/patch-sum b/devel/kdevelop/files/patch-sum
index 05ae78eea70..78999af700b 100644
--- a/devel/kdevelop/files/patch-sum
+++ b/devel/kdevelop/files/patch-sum
@@ -1,4 +1,6 @@
-$NetBSD: patch-sum,v 1.4 1999/12/28 05:27:52 wiz Exp $
+$NetBSD: patch-sum,v 1.5 2000/02/02 12:01:58 scw Exp $
MD5 (patch-aa) = de88a4d3a0e5b47a56f84b0bb4c71a59
MD5 (patch-ab) = e745b3e1c92c6165e8f69f609f03415e
+MD5 (patch-ac) = 80758a71dd28ed938350d7911c7f28e0
+MD5 (patch-ad) = 7419b29fd806ee0f2bb6a519e4bbb923
diff --git a/devel/kdevelop/patches/patch-ac b/devel/kdevelop/patches/patch-ac
new file mode 100644
index 00000000000..e690283dcdd
--- /dev/null
+++ b/devel/kdevelop/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2000/02/02 12:01:59 scw Exp $
+
+--- kdevelop/ckappwizard.cpp.orig Fri Dec 3 20:08:04 1999
++++ kdevelop/ckappwizard.cpp Wed Feb 2 11:14:52 2000
+@@ -1159,7 +1159,7 @@
+ namelow = nameline->text();
+ namelow = namelow.lower();
+ QDir dir;
+- dir.mkdir(directoryline->text() + QString("/"));
++ dir.mkdir(directoryline->text()); // why don't they check for an error here?
+ if (!dir.exists())
+ dir.setCurrent(directoryline->text() + QString("/"));
+ KShellProcess p;
diff --git a/devel/kdevelop/patches/patch-ad b/devel/kdevelop/patches/patch-ad
new file mode 100644
index 00000000000..0ee3700a14d
--- /dev/null
+++ b/devel/kdevelop/patches/patch-ad
@@ -0,0 +1,20 @@
+$NetBSD: patch-ad,v 1.1 2000/02/02 12:01:59 scw Exp $
+
+--- kdevelop/cupdatekdedocdlg.cpp.orig Sun Oct 31 16:01:54 1999
++++ kdevelop/cupdatekdedocdlg.cpp Wed Feb 2 11:27:08 2000
+@@ -271,6 +271,7 @@
+ conf->writeEntry("doc_kde",new_doc_path);
+ }
+
++ QDir().mkdir(new_doc_path); // This is an attempt to avoid the trailing '/'
+ if(new_doc_path.right(1) != "/"){
+ new_doc_path += "/";
+ }
+@@ -278,7 +279,6 @@
+ if(doc_path.right(1) != "/"){
+ doc_path += "/";
+ }
+- QDir().mkdir(new_doc_path);
+ if(!QFileInfo(new_doc_path).isWritable()){
+ KMsgBox::message(this,i18n("Error in creating documentation!"),
+ i18n("You need write permission to create\n"