Date: Fri, 05 Dec 2025 01:04:23 +0000 From: Jason E. Hale <jhale@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 38556b0dc354 - main - emulators/dolphin-emu: Prepare for Qt 6.10 Message-ID: <69322f97.2404a.78def009@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=38556b0dc354caeb004c8e3a1f2e19fb2deabfe7 commit 38556b0dc354caeb004c8e3a1f2e19fb2deabfe7 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2025-12-04 23:07:03 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2025-12-05 01:03:38 +0000 emulators/dolphin-emu: Prepare for Qt 6.10 Backport upstream patch to fix build with Qt 6.10. With hat: kde@ --- .../patch-Source-Core-Common-ArmCPUDetect.cpp | 4 +-- .../patch-Source-Core-DolphinQt-CMakeLists.txt | 40 ++++++++++++++++++++-- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/emulators/dolphin-emu/files/patch-Source-Core-Common-ArmCPUDetect.cpp b/emulators/dolphin-emu/files/patch-Source-Core-Common-ArmCPUDetect.cpp index ef0298a55eeb..a4d52a2ff6b5 100644 --- a/emulators/dolphin-emu/files/patch-Source-Core-Common-ArmCPUDetect.cpp +++ b/emulators/dolphin-emu/files/patch-Source-Core-Common-ArmCPUDetect.cpp @@ -1,8 +1,8 @@ ---- Source/Core/Common/ArmCPUDetect.cpp.orig 2025-05-02 13:15:23 UTC +--- Source/Core/Common/ArmCPUDetect.cpp.orig 2025-09-15 19:46:44 UTC +++ Source/Core/Common/ArmCPUDetect.cpp @@ -20,6 +20,7 @@ #include <sys/auxv.h> - #elif defined(__FreeBSD__) + #elif defined(HAVE_ELF_AUX_INFO) #include <sys/auxv.h> +#include <sys/sysctl.h> #elif defined(__OpenBSD__) diff --git a/emulators/dolphin-emu/files/patch-Source-Core-DolphinQt-CMakeLists.txt b/emulators/dolphin-emu/files/patch-Source-Core-DolphinQt-CMakeLists.txt index 12994febd8c3..2bb55b8f084a 100644 --- a/emulators/dolphin-emu/files/patch-Source-Core-DolphinQt-CMakeLists.txt +++ b/emulators/dolphin-emu/files/patch-Source-Core-DolphinQt-CMakeLists.txt @@ -1,8 +1,42 @@ Add DISABLE_NLS option ---- Source/Core/DolphinQt/CMakeLists.txt.orig 2023-07-23 02:24:09 UTC +Backport [1]. I really don't know why [1] is limited to LINUX, since +this is a platform-independent change in Qt. Uptream has been notified [2]. + +[1] https://github.com/dolphin-emu/dolphin/commit/b3bdad416ca0a6a604dca12bed7bd00542092d25 +[2] https://github.com/dolphin-emu/dolphin/pull/14165 + +--- Source/Core/DolphinQt/CMakeLists.txt.orig 2025-09-15 19:46:44 UTC +++ Source/Core/DolphinQt/CMakeLists.txt -@@ -479,6 +479,9 @@ if(WIN32) +@@ -15,6 +15,13 @@ find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets + set(CMAKE_AUTORCC ON) + + find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Svg) ++ ++if (Qt6_VERSION VERSION_GREATER_EQUAL 6.10.0) ++ # GuiPrivate is needed to #include qplatformnativeinterface.h in MainWindow.cpp with Qt 6.10+. ++ set(NEED_QT_GUI_PRIVATE_COMPONENT ON) ++ find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) ++endif() ++ + message(STATUS "Found Qt version ${Qt6_VERSION}") + + set_property(TARGET Qt6::Core PROPERTY INTERFACE_COMPILE_FEATURES "") +@@ -440,6 +447,13 @@ PRIVATE + implot + ) + ++if (NEED_QT_GUI_PRIVATE_COMPONENT) ++ target_link_libraries(dolphin-emu ++ PRIVATE ++ Qt6::GuiPrivate ++ ) ++endif() ++ + if (WIN32) + target_link_libraries(dolphin-emu + PRIVATE +@@ -530,6 +544,9 @@ endif() ) endif() @@ -12,7 +46,7 @@ Add DISABLE_NLS option # Handle localization find_package(Gettext) -@@ -530,6 +533,8 @@ if(GETTEXT_MSGFMT_EXECUTABLE) +@@ -581,6 +598,8 @@ endif() endif() endforeach() endif()home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69322f97.2404a.78def009>
