git: 10ade2ec5ad9 - main - devel/qt6-base: Add missing include
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Feb 2025 03:09:51 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=10ade2ec5ad92ad36d62c9e25992cd40f1956286 commit 10ade2ec5ad92ad36d62c9e25992cd40f1956286 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2025-02-13 02:41:09 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2025-02-13 03:09:02 +0000 devel/qt6-base: Add missing include Fixes build of x11-wm/plasma6-kwin. /usr/local/include/qt6/QtCore/qcompare_impl.h:26:49: error: no member named 'is_null_pointer_v' in namespace 'std' 26 | template <typename T, std::enable_if_t<std::is_null_pointer_v<T>, bool> = true> Not bumping PORTREVISION again. The previous commit to qt6-base covers that. MFH: 2025Q1 --- .../files/patch-src_corelib_global_qcompare__impl.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/devel/qt6-base/files/patch-src_corelib_global_qcompare__impl.h b/devel/qt6-base/files/patch-src_corelib_global_qcompare__impl.h new file mode 100644 index 000000000000..f56a2b4139e4 --- /dev/null +++ b/devel/qt6-base/files/patch-src_corelib_global_qcompare__impl.h @@ -0,0 +1,17 @@ +Add missing include. This was pulled in from <QtCore/qglobal.h> before [1]. + +[1] https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/global/qcompare_impl.h?id=0677d334f85f6d39f6f6495162eec69712e42370 + +--- src/corelib/global/qcompare_impl.h.orig 2025-02-13 02:30:23 UTC ++++ src/corelib/global/qcompare_impl.h +@@ -9,6 +9,10 @@ + #pragma qt_sync_stop_processing + #endif + ++#ifdef __cplusplus ++# include <type_traits> ++#endif ++ + #include <QtCore/qtconfigmacros.h> + #include <QtCore/qcompilerdetection.h> +