[packages/kde4-kdelibs] build fix for i686 (meinproc4 still hangs though)
    atler 
    atler at pld-linux.org
       
    Tue Jan 18 20:31:47 CET 2022
    
    
  
commit 897783453b21d1614d0b7b255d2ba6f3528c55bd
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jan 18 20:27:21 2022 +0100
    build fix for i686 (meinproc4 still hangs though)
    
    hasKey on DayPeriod%i in klocale_kde.cpp still causes infinite loops.
    
    adding workaround doesn't help much since onto2vocabularyclass loops
    infinitely on reading desktop file (unrelated to qmap).
    
    it's time to admit qt4 is broken beyond repair.
 build.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/build.patch b/build.patch
index 19c45b1..2032cb3 100644
--- a/build.patch
+++ b/build.patch
@@ -66,3 +66,18 @@
          d->m_terminaldirty = false; // slotTerminalToggled changed it
      }
  }
+--- kdelibs-4.14.38/kdecore/io/kfilesystemtype_p.cpp.orig	2017-11-05 02:51:22.000000000 +0100
++++ kdelibs-4.14.38/kdecore/io/kfilesystemtype_p.cpp	2022-01-18 18:36:10.743711677 +0100
+@@ -104,10 +104,9 @@
+         return KFileSystemType::Smb;
+     case MSDOS_SUPER_MAGIC:
+         return KFileSystemType::Fat;
+-    case RAMFS_MAGIC:
+-        return KFileSystemType::Ramfs;
+     default:
+-        return KFileSystemType::Other;
++	if (buf.f_type == RAMFS_MAGIC) return KFileSystemType::Ramfs;
++	else return KFileSystemType::Other;
+     }
+ }
+ 
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdelibs.git/commitdiff/897783453b21d1614d0b7b255d2ba6f3528c55bd
    
    
More information about the pld-cvs-commit
mailing list