summaryrefslogtreecommitdiffstats
path: root/redhat/kdeutils/kdf-3.0.2-label.patch
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-09-13 19:34:56 +0200
committeralbator <albator@arcadia.vtf>2011-09-13 19:34:56 +0200
commitf6ce92a24ffe2ccb16db56a14655a01e0caf106a (patch)
treeaa72f5c520bb790af473dfd5e9885c15ab88e22b /redhat/kdeutils/kdf-3.0.2-label.patch
parent2c6d0dac8cc0d0022626d0ab12179131a89037fc (diff)
downloadtde-packaging-f6ce92a24ffe2ccb16db56a14655a01e0caf106a.tar.gz
tde-packaging-f6ce92a24ffe2ccb16db56a14655a01e0caf106a.zip
Add kdeutils patches from Fedora8.
Updated TDE 3.5.12 Spec file, confirmed working on RHEL6 and Fedora15.
Diffstat (limited to 'redhat/kdeutils/kdf-3.0.2-label.patch')
-rw-r--r--redhat/kdeutils/kdf-3.0.2-label.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/kdeutils/kdf-3.0.2-label.patch b/redhat/kdeutils/kdf-3.0.2-label.patch
new file mode 100644
index 000000000..6ea620472
--- /dev/null
+++ b/redhat/kdeutils/kdf-3.0.2-label.patch
@@ -0,0 +1,13 @@
+--- kdeutils-3.0.3/kdf/disklist.cpp.label 2002-08-19 14:36:13.000000000 +0200
++++ kdeutils-3.0.3/kdf/disklist.cpp 2002-08-19 14:37:34.000000000 +0200
+@@ -163,8 +163,9 @@
+ while (! t.eof()) {
+ s=t.readLine();
+ s=s.simplifyWhiteSpace();
+- if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) ) {
++ if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) && (s.find("LABEL")!=0) ) {
+ // not empty or commented out by '#'
++ // skip LABEL entries as long as kdf can't handle them properly
+ // kdDebug() << "GOT: [" << s << "]" << endl;
+ disk = new DiskEntry();// Q_CHECK_PTR(disk);
+ disk->setMounted(FALSE);