diff options
Diffstat (limited to 'devel/qt6-base')
-rw-r--r-- | devel/qt6-base/Makefile | 4 | ||||
-rw-r--r-- | devel/qt6-base/distinfo | 6 | ||||
-rw-r--r-- | devel/qt6-base/files/patch-cmake_QtFlagHandlingHelpers.cmake | 13 | ||||
-rw-r--r-- | devel/qt6-base/files/patch-cmake_QtRpathHelpers.cmake | 11 | ||||
-rw-r--r-- | devel/qt6-base/files/patch-src_corelib_global_qcomparehelpers.h | 27 | ||||
-rw-r--r-- | devel/qt6-base/files/patch-src_corelib_io_qprocess__unix.cpp | 32 | ||||
-rw-r--r-- | devel/qt6-base/pkg-plist | 33 |
7 files changed, 57 insertions, 69 deletions
diff --git a/devel/qt6-base/Makefile b/devel/qt6-base/Makefile index 9ccdc12070a0..eba64f948e61 100644 --- a/devel/qt6-base/Makefile +++ b/devel/qt6-base/Makefile @@ -1,6 +1,5 @@ PORTNAME= base DISTVERSION= ${QT6_VERSION} -PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= qt6- @@ -75,7 +74,8 @@ X11_LIB_DEPENDS= libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ - libxcb-render-util.so:x11/xcb-util-renderutil + libxcb-render-util.so:x11/xcb-util-renderutil \ + libxcb-util.so:x11/xcb-util X11_USES= xorg X11_USE= XORG=ice,pixman,sm,x11,xau,xcb,xcomposite,xcursor,xdamage,xdmcp,xext,xfixes,xi,xinerama,xrandr,xrender X11_CMAKE_BOOL= FEATURE_xcb \ diff --git a/devel/qt6-base/distinfo b/devel/qt6-base/distinfo index 07b98015ee3b..f536c16bbf58 100644 --- a/devel/qt6-base/distinfo +++ b/devel/qt6-base/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749162730 -SHA256 (KDE/Qt/6.9.1/qtbase-everywhere-src-6.9.1.tar.xz) = 40caedbf83cc9a1959610830563565889878bc95f115868bbf545d1914acf28e -SIZE (KDE/Qt/6.9.1/qtbase-everywhere-src-6.9.1.tar.xz) = 49755912 +TIMESTAMP = 1759303163 +SHA256 (KDE/Qt/6.9.3/qtbase-everywhere-src-6.9.3.tar.xz) = c5a1a2f660356ec081febfa782998ae5ddbc5925117e64f50e4be9cd45b8dc6e +SIZE (KDE/Qt/6.9.3/qtbase-everywhere-src-6.9.3.tar.xz) = 49856272 diff --git a/devel/qt6-base/files/patch-cmake_QtFlagHandlingHelpers.cmake b/devel/qt6-base/files/patch-cmake_QtFlagHandlingHelpers.cmake deleted file mode 100644 index 561cc85a2ecd..000000000000 --- a/devel/qt6-base/files/patch-cmake_QtFlagHandlingHelpers.cmake +++ /dev/null @@ -1,13 +0,0 @@ ---- cmake/QtFlagHandlingHelpers.cmake.orig 2024-09-18 16:48:24 UTC -+++ cmake/QtFlagHandlingHelpers.cmake -@@ -177,6 +177,10 @@ function(qt_internal_add_link_flags_no_undefined targe - set(no_undefined_flag "-Wl,--no-undefined") - endif() - -+ if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -+ set(no_undefined_flag "") -+ endif() -+ - set(CMAKE_REQUIRED_LINK_OPTIONS ${previous_CMAKE_REQUIRED_LINK_OPTIONS}) - - if (NOT HAVE_DASH_UNDEFINED_SYMBOLS AND NOT HAVE_DASH_DASH_NO_UNDEFINED) diff --git a/devel/qt6-base/files/patch-cmake_QtRpathHelpers.cmake b/devel/qt6-base/files/patch-cmake_QtRpathHelpers.cmake deleted file mode 100644 index 7899d3825fba..000000000000 --- a/devel/qt6-base/files/patch-cmake_QtRpathHelpers.cmake +++ /dev/null @@ -1,11 +0,0 @@ ---- cmake/QtRpathHelpers.cmake.orig 2023-09-21 19:24:26 UTC -+++ cmake/QtRpathHelpers.cmake -@@ -8,6 +8,8 @@ function(qt_internal_get_relative_rpath_base_token out - set(rpath_rel_base "@loader_path") - elseif(LINUX OR SOLARIS OR FREEBSD OR HURD OR OPENBSD) - set(rpath_rel_base "$ORIGIN") -+ elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -+ set(rpath_rel_base "$ORIGIN") - else() - set(rpath_rel_base "NO_KNOWN_RPATH_REL_BASE") - endif() diff --git a/devel/qt6-base/files/patch-src_corelib_global_qcomparehelpers.h b/devel/qt6-base/files/patch-src_corelib_global_qcomparehelpers.h deleted file mode 100644 index 5d37ac721415..000000000000 --- a/devel/qt6-base/files/patch-src_corelib_global_qcomparehelpers.h +++ /dev/null @@ -1,27 +0,0 @@ -Suppress spurious zero as null pointer constant warnings which cause errors -in www/dooble due to -Werror being passed. This is the same problem as in -qcompare.h that upstream suppresses for GCC. - -/usr/local/include/qt6/QtCore/qfloat16.h:209:5: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] -... -/usr/local/include/qt6/QtCore/qcomparehelpers.h:211:43: note: expanded from macro 'QT_DECLARE_ORDERING_HELPER_TEMPLATE' - 211 | { return compareThreeWay(lhs, rhs) >= 0; } - ---- src/corelib/global/qcomparehelpers.h.orig 2025-02-19 13:05:34 UTC -+++ src/corelib/global/qcomparehelpers.h -@@ -316,6 +316,7 @@ orderingFlagsFor(T t) noexcept - - #define QT_DECLARE_ORDERING_HELPER_TEMPLATE(OrderingType, LeftType, RightType, Constexpr, \ - Noexcept, ...) \ -+ QT_WARNING_DISABLE_CLANG("-Wzero-as-null-pointer-constant") \ - __VA_ARGS__ \ - friend Constexpr bool operator<(LeftType const &lhs, RightType const &rhs) Noexcept \ - { \ -@@ -357,6 +358,7 @@ orderingFlagsFor(T t) noexcept - // Helpers for reversed ordering, using the existing compareThreeWay() function. - #define QT_DECLARE_REVERSED_ORDERING_HELPER_TEMPLATE(OrderingType, LeftType, RightType, Constexpr, \ - Noexcept, ...) \ -+ QT_WARNING_DISABLE_CLANG("-Wzero-as-null-pointer-constant") \ - __VA_ARGS__ \ - friend Constexpr bool operator<(RightType const &lhs, LeftType const &rhs) Noexcept \ - { return is_gt(compareThreeWay(rhs, lhs)); } \ diff --git a/devel/qt6-base/files/patch-src_corelib_io_qprocess__unix.cpp b/devel/qt6-base/files/patch-src_corelib_io_qprocess__unix.cpp new file mode 100644 index 000000000000..67daf0bcd3b5 --- /dev/null +++ b/devel/qt6-base/files/patch-src_corelib_io_qprocess__unix.cpp @@ -0,0 +1,32 @@ +Use dlsym to access environ. This avoids undefined references during linking +with -Wl,-no-undefined. + +See https://reviews.freebsd.org/D30842 + +--- src/corelib/io/qprocess_unix.cpp.orig 2025-08-11 04:54:51 UTC ++++ src/corelib/io/qprocess_unix.cpp +@@ -59,10 +59,9 @@ + # define _PATH_TTY _PATH_DEV "tty" + #endif + +-#ifdef Q_OS_FREEBSD +-__attribute__((weak)) +-#endif ++#ifndef Q_OS_FREEBSD + extern char **environ; ++#endif + + QT_BEGIN_NAMESPACE + +@@ -74,6 +73,11 @@ QProcessEnvironment QProcessEnvironment::systemEnviron + { + QProcessEnvironment env; + const char *entry; ++#ifdef Q_OS_FREEBSD ++ static char* nullenv = nullptr; ++ char ***environ_p = reinterpret_cast<char***>(dlsym(RTLD_DEFAULT, "environ")); ++ char **environ = environ_p ? *environ_p : &nullenv; ++#endif + for (int count = 0; (entry = environ[count]); ++count) { + const char *equal = strchr(entry, '='); + if (!equal) diff --git a/devel/qt6-base/pkg-plist b/devel/qt6-base/pkg-plist index 21e21ab67960..5c67b6fac4c8 100644 --- a/devel/qt6-base/pkg-plist +++ b/devel/qt6-base/pkg-plist @@ -5,6 +5,7 @@ bin/qmake6 %%QT_INCDIR%%/QtConcurrent/QtConcurrentFilter %%QT_INCDIR%%/QtConcurrent/QtConcurrentMap %%QT_INCDIR%%/QtConcurrent/QtConcurrentRun +%%QT_INCDIR%%/QtConcurrent/QtConcurrentTask %%QT_INCDIR%%/QtConcurrent/QtConcurrentVersion %%QT_INCDIR%%/QtConcurrent/qtaskbuilder.h %%QT_INCDIR%%/QtConcurrent/qtconcurrent_global.h @@ -149,6 +150,7 @@ bin/qmake6 %%QT_INCDIR%%/QtCore/%%FULLVER%%/QtCore/private/qstringiterator_p.h %%QT_INCDIR%%/QtCore/%%FULLVER%%/QtCore/private/qsystemerror_p.h %%QT_INCDIR%%/QtCore/%%FULLVER%%/QtCore/private/qsystemsemaphore_p.h +%%QT_INCDIR%%/QtCore/%%FULLVER%%/QtCore/private/qtclasshelper_p.h %%QT_INCDIR%%/QtCore/%%FULLVER%%/QtCore/private/qtcore-config_p.h %%QT_INCDIR%%/QtCore/%%FULLVER%%/QtCore/private/qtcoreglobal_p.h %%QT_INCDIR%%/QtCore/%%FULLVER%%/QtCore/private/qtemporaryfile_p.h @@ -967,14 +969,15 @@ bin/qmake6 %%QT_INCDIR%%/QtFbSupport/QtFbSupportDepends %%QT_INCDIR%%/QtFbSupport/QtFbSupportVersion %%QT_INCDIR%%/QtFbSupport/qtfbsupportversion.h -%%X11%%%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/atspiadaptor_p.h -%%X11%%%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/dbusconnection_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/atspiadaptor_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/dbusconnection_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qabstractfileiconengine_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qabstractfileiconprovider_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qabstractlayoutstyleinfo_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qabstracttextdocumentlayout_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qaccessiblebridgeutils_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qaccessiblecache_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qaccessiblehelper_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qaction_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qactiongroup_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qastchandler_p.h @@ -1121,11 +1124,11 @@ bin/qmake6 %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qshortcut_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qshortcutmap_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qsimpledrag_p.h -%%X11%%%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspi_constant_mappings_p.h -%%X11%%%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspi_struct_marshallers_p.h -%%X11%%%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspiaccessiblebridge_p.h -%%X11%%%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspiapplicationadaptor_p.h -%%X11%%%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspidbuscache_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspi_constant_mappings_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspi_struct_marshallers_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspiaccessiblebridge_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspiapplicationadaptor_p.h +%%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qspidbuscache_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qstandarditemmodel_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qstatictext_p.h %%QT_INCDIR%%/QtGui/%%FULLVER%%/QtGui/private/qstatusnotifieritemadaptor_p.h @@ -1442,9 +1445,9 @@ bin/qmake6 %%QT_INCDIR%%/QtGui/QtGui %%QT_INCDIR%%/QtGui/QtGuiDepends %%QT_INCDIR%%/QtGui/QtGuiVersion -%%X11%%%%QT_INCDIR%%/QtGui/bus_interface.h -%%X11%%%%QT_INCDIR%%/QtGui/cache_adaptor.h -%%X11%%%%QT_INCDIR%%/QtGui/deviceeventcontroller_adaptor.h +%%QT_INCDIR%%/QtGui/bus_interface.h +%%QT_INCDIR%%/QtGui/cache_adaptor.h +%%QT_INCDIR%%/QtGui/deviceeventcontroller_adaptor.h %%QT_INCDIR%%/QtGui/properties_interface.h %%QT_INCDIR%%/QtGui/qabstractfileiconprovider.h %%QT_INCDIR%%/QtGui/qabstracttextdocumentlayout.h @@ -1564,7 +1567,7 @@ bin/qmake6 %%QT_INCDIR%%/QtGui/qvulkanwindow.h %%QT_INCDIR%%/QtGui/qwindow.h %%QT_INCDIR%%/QtGui/qwindowdefs.h -%%X11%%%%QT_INCDIR%%/QtGui/socket_interface.h +%%QT_INCDIR%%/QtGui/socket_interface.h %%QT_INCDIR%%/QtInputSupport/%%FULLVER%%/QtInputSupport/private/devicehandlerlist_p.h %%QT_INCDIR%%/QtInputSupport/%%FULLVER%%/QtInputSupport/private/qevdevkeyboard_defaultmap_p.h %%QT_INCDIR%%/QtInputSupport/%%FULLVER%%/QtInputSupport/private/qevdevkeyboardhandler_p.h @@ -2537,6 +2540,7 @@ bin/qmake6 %%QT_INCDIR%%/QtXml/qtxmlversion.h @comment lib/cmake/Qt6/3rdparty/extra-cmake-modules/0001-ECMEnableSanitizers.cmake-fix-GCC-s-note-variable-tr.patch @comment lib/cmake/Qt6/3rdparty/extra-cmake-modules/0002-ECMEnableSanitizers.cmake-replace-tabs-with-spaces.patch +@comment lib/cmake/Qt6/3rdparty/extra-cmake-modules/0003-ECMEnableSanitizers.cmake-fix-no-undefined-flag-replacement.patch lib/cmake/Qt6/3rdparty/extra-cmake-modules/COPYING-CMAKE-SCRIPTS lib/cmake/Qt6/3rdparty/extra-cmake-modules/REUSE.toml lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules/ECMFindModuleHelpersStub.cmake @@ -2695,6 +2699,7 @@ lib/cmake/Qt6/QtProcessConfigureArgs.cmake lib/cmake/Qt6/QtProperties.cmake lib/cmake/Qt6/QtPublicAndroidHelpers.cmake lib/cmake/Qt6/QtPublicAppleHelpers.cmake +lib/cmake/Qt6/QtPublicCMakeEarlyPolicyHelpers.cmake lib/cmake/Qt6/QtPublicCMakeHelpers.cmake lib/cmake/Qt6/QtPublicCMakeVersionHelpers.cmake lib/cmake/Qt6/QtPublicDependencyHelpers.cmake @@ -3178,6 +3183,9 @@ lib/cmake/Qt6TestInternalsPrivate/Qt6TestInternalsPrivateConfigVersionImpl.cmake lib/cmake/Qt6TestInternalsPrivate/Qt6TestInternalsPrivateTargets.cmake lib/cmake/Qt6TestInternalsPrivate/Qt6TestInternalsPrivateVersionlessAliasTargets.cmake lib/cmake/Qt6TestInternalsPrivate/Qt6TestInternalsPrivateVersionlessTargets.cmake +lib/cmake/Qt6TestInternalsPrivate/QtRunCMake.cmake +lib/cmake/Qt6TestInternalsPrivate/QtRunCMakeTestWrappers.cmake +lib/cmake/Qt6TestInternalsPrivate/RunCMake.cmake lib/cmake/Qt6TestPrivate/Qt6TestPrivateAdditionalTargetInfo.cmake lib/cmake/Qt6TestPrivate/Qt6TestPrivateConfig.cmake lib/cmake/Qt6TestPrivate/Qt6TestPrivateConfigVersion.cmake @@ -3496,6 +3504,7 @@ lib/cmake/Qt6XmlPrivate/Qt6XmlPrivateVersionlessTargets.cmake %%QT_MKSPECDIR%%/features/android/spec_post.prf %%QT_MKSPECDIR%%/features/benchmark.prf %%QT_MKSPECDIR%%/features/build_pass.prf +%%QT_MKSPECDIR%%/features/ccache.prf %%QT_MKSPECDIR%%/features/cmake_functions.prf %%QT_MKSPECDIR%%/features/cmdline.prf %%QT_MKSPECDIR%%/features/configure.prf @@ -3545,7 +3554,6 @@ lib/cmake/Qt6XmlPrivate/Qt6XmlPrivateVersionlessTargets.cmake %%QT_MKSPECDIR%%/features/mac/sdk.mk %%QT_MKSPECDIR%%/features/mac/sdk.prf %%QT_MKSPECDIR%%/features/mac/toolchain.prf -%%QT_MKSPECDIR%%/features/mac/unsupported/objc_namespace.prf %%QT_MKSPECDIR%%/features/metatypes.prf %%QT_MKSPECDIR%%/features/moc.prf %%QT_MKSPECDIR%%/features/no_debug_info.prf @@ -3595,7 +3603,6 @@ lib/cmake/Qt6XmlPrivate/Qt6XmlPrivateVersionlessTargets.cmake %%QT_MKSPECDIR%%/features/uikit/xcodebuild.mk %%QT_MKSPECDIR%%/features/uikit/xcodebuild.prf %%QT_MKSPECDIR%%/features/unix/bsymbolic_functions.prf -%%QT_MKSPECDIR%%/features/unix/ccache.prf %%QT_MKSPECDIR%%/features/unix/hide_symbols.prf %%QT_MKSPECDIR%%/features/unix/largefile.prf %%QT_MKSPECDIR%%/features/unix/no_direct_extern_access.prf |