summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-26 08:30:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-26 08:30:55 +0000
commitbff013fc6eea406770a424c98e84d2152bd9ffdc (patch)
tree9a2d2d5246c54a90a3e69aa3e01142187058fb26 /kde-base/kdelibs/files
parentStable on x86. (diff)
downloadgentoo-2-bff013fc6eea406770a424c98e84d2152bd9ffdc.tar.gz
gentoo-2-bff013fc6eea406770a424c98e84d2152bd9ffdc.tar.bz2
gentoo-2-bff013fc6eea406770a424c98e84d2152bd9ffdc.zip
Added patch to be able to run pumount successfully, so to unbreak handling of unmount action for users.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r--kde-base/kdelibs/files/digest-kdelibs-3.5_beta1-r1 (renamed from kde-base/kdelibs/files/digest-kdelibs-3.5_beta1)0
-rw-r--r--kde-base/kdelibs/files/kioslave-pumount-devname.patch12
2 files changed, 12 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/digest-kdelibs-3.5_beta1 b/kde-base/kdelibs/files/digest-kdelibs-3.5_beta1-r1
index 15fc1f6a2f69..15fc1f6a2f69 100644
--- a/kde-base/kdelibs/files/digest-kdelibs-3.5_beta1
+++ b/kde-base/kdelibs/files/digest-kdelibs-3.5_beta1-r1
diff --git a/kde-base/kdelibs/files/kioslave-pumount-devname.patch b/kde-base/kdelibs/files/kioslave-pumount-devname.patch
new file mode 100644
index 000000000000..6281301b2125
--- /dev/null
+++ b/kde-base/kdelibs/files/kioslave-pumount-devname.patch
@@ -0,0 +1,12 @@
+Index: kdelibs-3.4.91/kioslave/file/file.cc
+===================================================================
+--- kdelibs-3.4.91/kioslave/file/file.cc.orig
++++ kdelibs-3.4.91/kioslave/file/file.cc
+@@ -1621,6 +1621,7 @@ bool FileProtocol::pumount(const QString
+ }
+
+ if (dev.isEmpty()) return false;
++ if (dev.endsWith("/")) dev.truncate(dev.length()-1);
+
+ QString epath = getenv("PATH");
+ QString path = QString::fromLatin1("/sbin:/bin");