diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2024-05-04 05:49:45 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2024-05-04 06:01:51 +0000 |
commit | 09fa1cdbc4cf4b8d60b210241774d2dc9c6e9daa (patch) | |
tree | d2adc03cc0318e7913fffb982ba634179eba50a9 | |
parent | fb416280d9130c469d580bcad2fe5177486885df (diff) | |
download | ports-09fa1cdbc4cf4b8d60b210241774d2dc9c6e9daa.tar.gz ports-09fa1cdbc4cf4b8d60b210241774d2dc9c6e9daa.zip |
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)
-rw-r--r-- | deskutils/plasma6-xdg-desktop-portal-kde/files/patch-src_session.h | 19 |
1 files changed, 19 insertions, 0 deletions
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> |