Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37547751
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: kf5-plasma-framework

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alt-e2k.patch
Скачать


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);
     };
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin