summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeutils/kdf-3.0.2-label.patch
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-11-09 12:54:35 +0100
committerFrançois Andriot <[email protected]>2014-11-09 12:54:35 +0100
commita3bdc3b32bcb585ff9786e727bd8d47917ba3c10 (patch)
tree5da21e4e0bdcc029a5b4a0cf4ae26ff4d300f5e1 /redhat/main/tdeutils/kdf-3.0.2-label.patch
parente25e5dfb46bcbb9327349620eca4da0a9538bf0d (diff)
downloadtde-packaging-a3bdc3b32bcb585ff9786e727bd8d47917ba3c10.tar.gz
tde-packaging-a3bdc3b32bcb585ff9786e727bd8d47917ba3c10.zip
RPM packaging: update build scripts
Diffstat (limited to 'redhat/main/tdeutils/kdf-3.0.2-label.patch')
-rw-r--r--redhat/main/tdeutils/kdf-3.0.2-label.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/main/tdeutils/kdf-3.0.2-label.patch b/redhat/main/tdeutils/kdf-3.0.2-label.patch
new file mode 100644
index 000000000..6ea620472
--- /dev/null
+++ b/redhat/main/tdeutils/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);