Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37787021
en ru br
ALT Linux repos
S:5.110.0-alt1

Group :: System/Libraries
RPM: kf5-plasma-framework

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-e2k.patch
Download


commit 5f88639a9b191731fd7a7ac0d82fd0a48ed48e38
Author: Ilya Kurdyukov <ilyakurdyukov@altlinux.org>
Date:   Thu Dec 22 15:45:54 2022 +0300
    [e2k] lcc ftbfs workaround (mcst#7731)
diff --git a/plasma-framework/src/plasma/framesvg.cpp b/plasma-framework/src/plasma/framesvg.cpp
index 96013f72c..9c39068b5 100644
--- a/plasma-framework/src/plasma/framesvg.cpp
+++ b/plasma-framework/src/plasma/framesvg.cpp
@@ -850,7 +850,12 @@ void FrameSvgPrivate::updateSizes(FrameData *frame) const
     // converting that to a QString temporary for the replace operation.
     // Additionally, we use a template parameter to provide us the compile-time
     // length of the literal so we don't need to calculate that.
+#ifdef __EDG__
+    auto createName = [&nameBuffer, offset](const char16_t name[]) {
+        std::size_t length = std::char_traits<char16_t>::length(name) + 1;
+#else
     auto createName = [&nameBuffer, offset]<std::size_t length>(const char16_t(&name)[length]) {
+#endif
         nameBuffer.replace(offset, length - 1, reinterpret_cast<const QChar *>(name), length);
         return QStringView(nameBuffer).mid(0, offset + length - 1);
     };
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin