git: 09fa1cdbc4cf - 2024Q2 - deskutils/plasma6-xdg-desktop-portal-kde: Fix build on 13.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 May 2024 06:04:31 UTC
The branch 2024Q2 has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=09fa1cdbc4cf4b8d60b210241774d2dc9c6e9daa commit 09fa1cdbc4cf4b8d60b210241774d2dc9c6e9daa Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2024-05-04 05:49:45 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2024-05-04 06:01:51 +0000 deskutils/plasma6-xdg-desktop-portal-kde: Fix build on 13.2 src/session.h:186:10: error: no template named 'unordered_map' in namespace 'std' PR: 278658 MFH: 2024Q2 (cherry picked from commit 574f1d78b9432abc5e0e46befa91958417c80648) --- .../files/patch-src_session.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/deskutils/plasma6-xdg-desktop-portal-kde/files/patch-src_session.h b/deskutils/plasma6-xdg-desktop-portal-kde/files/patch-src_session.h new file mode 100644 index 000000000000..cf5796fc5bcc --- /dev/null +++ b/deskutils/plasma6-xdg-desktop-portal-kde/files/patch-src_session.h @@ -0,0 +1,19 @@ +Fix build on FreeBSD 13.2 + +In file included from /wrkdirs/usr/ports/deskutils/plasma6-xdg-desktop-portal-kde/work/.build/src/xdg-desktop-portal-kde_autogen/mocs_compilation.cpp:29: +In file included from /wrkdirs/usr/ports/deskutils/plasma6-xdg-desktop-portal-kde/work/.build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_session.cpp:9: +/wrkdirs/usr/ports/deskutils/plasma6-xdg-desktop-portal-kde/work/.build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/../../../../xdg-desktop-portal-kde-6.0.4/src/session.h:186:10: error: no template named 'unordered_map' in namespace 'std' + std::unordered_map<QString, std::unique_ptr<QAction>> m_shortcuts; + ~~~~~^ + +--- src/session.h.orig 2024-04-16 10:39:21 UTC ++++ src/session.h +@@ -9,6 +9,8 @@ + #ifndef XDG_DESKTOP_PORTAL_KDE_SESSION_H + #define XDG_DESKTOP_PORTAL_KDE_SESSION_H + ++#include <unordered_map> ++ + #include <QAction> + #include <QDBusVirtualObject> + #include <QObject>