diff --git a/gnome/gnucash/Portfile b/gnome/gnucash/Portfile index e145adfc3a96d..4b9a586a4cb35 100644 --- a/gnome/gnucash/Portfile +++ b/gnome/gnucash/Portfile @@ -13,6 +13,7 @@ name gnucash conflicts gnucash gnucash-devel conflicts-delete ${subport} version 5.9 +revision 1 perl5.branches 5.34 categories gnome x11 license GPL-2+ @@ -45,6 +46,7 @@ checksums rmd160 85594687cefde045923f6fb1088a7defb51116a0 \ patchfiles-append patch-CMakeLists.txt.diff #patchfiles-append patch-gnucash-remove-test-failing-to-build.diff +patchfiles-append patch-libgnucash-engine-cmake.diff post-patch { reinplace "s|set(HAVE_OSX_KEYCHAIN 1)||" ${worksrcpath}/CMakeLists.txt reinplace "s|-Werror||" ${worksrcpath}/CMakeLists.txt diff --git a/gnome/gnucash/files/patch-libgnucash-engine-cmake.diff b/gnome/gnucash/files/patch-libgnucash-engine-cmake.diff new file mode 100644 index 0000000000000..ed02466f04384 --- /dev/null +++ b/gnome/gnucash/files/patch-libgnucash-engine-cmake.diff @@ -0,0 +1,10 @@ +--- libgnucash/engine/CMakeLists.txt.orig 2024-09-26 21:11:25 ++++ libgnucash/engine/CMakeLists.txt 2024-12-12 20:32:35 +@@ -238,6 +238,7 @@ + ${Boost_DATE_TIME_LIBRARY} + ${Boost_REGEX_LIBRARY} + ${ICU4C_I18N_LDFLAGS} ++ ${ICU4C_LDFLAGS} + ${REGEX_LDFLAGS} + ${GMODULE_LDFLAGS} + PkgConfig::GLIB2