git: 8f1408ac02a2 - main - finance/kmymoney: unbreak build (+)
Dima Panov <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f1408ac02a2f6b77a41ebc8898d5079d61bdf0a commit 8f1408ac02a2f6b77a41ebc8898d5079d61bdf0a Author: Dima Panov <[email protected]> AuthorDate: 2026-08-18 13:24:00 +0000 Commit: Dima Panov <[email protected]> CommitDate: 2026-08-18 13:27:00 +0000 finance/kmymoney: unbreak build (+) KMyMoney require SqlPrivate component from Qt6 but missed in dependency declaration via find_package /wrkdirs/usr/ports/finance/kmymoney/work/kmymoney-5.2.1/kmymoney/plugins/sqlcipher/qsql_sqlite.cpp:37:10: fatal error: 'QtSql/private/qsqlcachedresult_p.h' file not found 37 | #include <QtSql/private/qsqlcachedresult_p.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Reported by: bulk -t --- finance/kmymoney/files/patch-CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/finance/kmymoney/files/patch-CMakeLists.txt b/finance/kmymoney/files/patch-CMakeLists.txt index c975fa38c63e..73fc1fe517ab 100644 --- a/finance/kmymoney/files/patch-CMakeLists.txt +++ b/finance/kmymoney/files/patch-CMakeLists.txt @@ -1,7 +1,14 @@ -Adapt to API changes since kidentitymanagement 24.02.0. - --- CMakeLists.txt.orig 2025-08-04 11:03:25 UTC +++ CMakeLists.txt +@@ -183,7 +183,7 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} R + endif() + + find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED COMPONENTS Core DBus Widgets Svg Xml Test PrintSupport) +-find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Sql Concurrent QuickWidgets) ++find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Sql SqlPrivate Concurrent QuickWidgets) + + find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS Archive CoreAddons Config ConfigWidgets Crash I18n Completion KCMUtils ItemModels ItemViews Service XmlGui TextWidgets Notifications KIO) + @@ -224,7 +224,7 @@ if (DEFINED AKONADI_MIN_VERSION) # for config-kmymoney.h.cmake set(ADDRESSBOOK_VERSION ${${PIMPREFIX}Akonadi_VERSION})