From eba1e3996b329ca8cdb0876a6cd2c47b479b29e6 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 7 May 2026 20:04:10 +0000 Subject: [PATCH] gnucash: pull in upstream fix for required libs for boost >=1.90 ok aja (maintainer) --- .../gnucash/patches/patch-CMakeLists_txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/productivity/gnucash/patches/patch-CMakeLists_txt b/productivity/gnucash/patches/patch-CMakeLists_txt index 8e3be1580d0..23933f2ec25 100644 --- a/productivity/gnucash/patches/patch-CMakeLists_txt +++ b/productivity/gnucash/patches/patch-CMakeLists_txt @@ -1,5 +1,8 @@ Force usage of webkit2gtk-4.1. +Unbreak Boost 1.90 libs +https://github.com/Gnucash/gnucash/commit/14bc748671879d2269fde3edb693b2f02122866c + Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt @@ -15,3 +18,16 @@ Index: CMakeLists.txt set(WEBKIT2 1 CACHE INTERNAL "WebKit2Gtk4") endif() +@@ -605,11 +602,7 @@ if (Boost_FOUND) + if (Boost_VERSION VERSION_LESS "1.89.0") + find_package(Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex system) + else() +- if (Boost_VERSION VERSION_LESS "1.90.0") +- find_package(Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex) +- else() +- find_package(Boost 1.67.0 COMPONENTS date_time locale program_options regex) +- endif() ++ find_package(Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex) + endif() + endif() +