git: 574f1d78b943 - main - deskutils/plasma6-xdg-desktop-portal-kde: Fix build on 13.2

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sat, 04 May 2024 06:01:05 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=574f1d78b9432abc5e0e46befa91958417c80648

commit 574f1d78b9432abc5e0e46befa91958417c80648
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:00:15 +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
---
 .../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>