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> 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 ++ + #include + #include + #include