x11/kde-applications/konsole: fix build with llvm 13, from upstream
ok rsadowski@
This commit is contained in:
parent
41b98ff2fa
commit
648b9adfcb
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2021/11/10 06:37:52 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2021/12/07 18:30:21 naddy Exp $
|
||||
|
||||
COMMENT = KDE terminal emulator
|
||||
DISTNAME = konsole-${VERSION}
|
||||
CATEGORIES = editors x11
|
||||
REVISION = 0
|
||||
|
||||
SHARED_LIBS += konsoleprivate 5.0 # 17.08
|
||||
SHARED_LIBS += konsoleapp 0.0 # 21
|
||||
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_widgets_EditProfileDialog_cpp,v 1.1 2021/12/07 18:30:21 naddy Exp $
|
||||
|
||||
Fix build with clang 13
|
||||
https://invent.kde.org/utilities/konsole/-/commit/1defe4f6c19c1c255b20bb56be64a7199048429f
|
||||
|
||||
Index: src/widgets/EditProfileDialog.cpp
|
||||
--- src/widgets/EditProfileDialog.cpp.orig
|
||||
+++ 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 };
|
Loading…
x
Reference in New Issue
Block a user