diff --git a/x11/konsole/files/patch-src_widgets_EditProfileDialog.cpp b/x11/konsole/files/patch-src_widgets_EditProfileDialog.cpp new file mode 100644 index 000000000000..fe69d918437f --- /dev/null +++ b/x11/konsole/files/patch-src_widgets_EditProfileDialog.cpp @@ -0,0 +1,16 @@ +Fix build against llvm13 + +Obtained from: + https://invent.kde.org/utilities/konsole/-/commit/1defe4f6c19c1c255b20bb56be64a7199048429f + +--- src/widgets/EditProfileDialog.cpp.orig 2021-11-25 09:02:00 UTC ++++ src/widgets/EditProfileDialog.cpp +@@ -1702,7 +1702,7 @@ void EditProfileDialog::setupMousePage(const Profile:: + + void EditProfileDialog::setTextEditorCombo(const Profile::Ptr &profile) + { +- std::array editorsList = { Enum::Kate, Enum::KWrite, ++ static const Enum::TextEditorCmd editorsList[] = { Enum::Kate, Enum::KWrite, + Enum::KDevelop, Enum::QtCreator, + Enum::Gedit, Enum::gVim, + Enum::CustomTextEditor };