Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2021 09:07:43 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0f6b4f68cb70 - main - x11/konsole: add upstream build fix
Message-ID:  <202111250907.1AP97h2j056988@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f6b4f68cb707d400d66f7d9d9068aa26b9d170d

commit 0f6b4f68cb707d400d66f7d9d9068aa26b9d170d
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-11-25 09:05:58 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-11-25 09:07:32 +0000

    x11/konsole: add upstream build fix
---
 .../files/patch-src_widgets_EditProfileDialog.cpp        | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

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 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111250907.1AP97h2j056988>