head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.18 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.16 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.14 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.12 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.10 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.8 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.6 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.4 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2024.01.03.13.30.49; author nros; state Exp; branches; next ; commitid DnMVVxXquT2ds0TE; desc @@ 1.1 log @codelite: fix compilation using patch from upstream @ text @$NetBSD$ * Fix, error call of overloaded ... is ambiguous taken from upstream: https://github.com/eranif/codelite/commit/c5c975afa30c958b87399255abf13e653138a697 --- LiteEditor/editorsettingsdockingwidows.cpp.orig 2024-01-03 13:11:10.864486752 +0000 +++ LiteEditor/editorsettingsdockingwidows.cpp @@@@ -59,7 +59,7 @@@@ EditorSettingsDockingWindows::EditorSett std::unordered_map orientation_map = { { "UP", wxUP }, { "DOWN", wxDOWN } }; std::unordered_map orientation_map_reverse = { { wxUP, "UP" }, { wxDOWN, "DOWN" } }; - AddProperty(_("Workspace tabs orientation"), { "UP", "DOWN" }, + AddProperty(_("Workspace tabs orientation"), std::vector{ "UP", "DOWN" }, orientation_map_reverse[m_options->GetWorkspaceTabsDirection()], [this, orientation_map](const wxString&, const wxAny& value) mutable { wxString str_value; @@@@ -67,7 +67,7 @@@@ EditorSettingsDockingWindows::EditorSett m_options->SetWorkspaceTabsDirection(orientation_map[str_value]); } }); - AddProperty(_("Output tabs orientation"), { "UP", "DOWN" }, + AddProperty(_("Output tabs orientation"), std::vector{ "UP", "DOWN" }, orientation_map_reverse[m_options->GetOutputTabsDirection()], [this, orientation_map](const wxString&, const wxAny& value) mutable { wxString str_value; @