Skip to content

Commit

Permalink
gnucash: fix build with ICU 76
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-akram committed Dec 13, 2024
1 parent 5583f7b commit b2fab58
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnome/gnucash/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand Down Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions gnome/gnucash/files/patch-libgnucash-engine-cmake.diff
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b2fab58

Please sign in to comment.