aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-11-25 09:05:58 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-11-25 09:07:32 +0000
commit0f6b4f68cb707d400d66f7d9d9068aa26b9d170d (patch)
treec91ccd10433f9a1fb61b6a6f13a142f9e4e52579
parent33c764690e3e249e2c6481fd1ec8d26e14845e78 (diff)
downloadports-0f6b4f68cb707d400d66f7d9d9068aa26b9d170d.tar.gz
ports-0f6b4f68cb707d400d66f7d9d9068aa26b9d170d.zip
x11/konsole: add upstream build fix
-rw-r--r--x11/konsole/files/patch-src_widgets_EditProfileDialog.cpp16
1 files changed, 16 insertions, 0 deletions
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<Enum::TextEditorCmd, 7> editorsList = { Enum::Kate, Enum::KWrite,
++ static const Enum::TextEditorCmd editorsList[] = { Enum::Kate, Enum::KWrite,
+ Enum::KDevelop, Enum::QtCreator,
+ Enum::Gedit, Enum::gVim,
+ Enum::CustomTextEditor };