git: 3abcd80304e0 - main - finance/gnucash: Fix build on i386

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Wed, 03 Apr 2024 22:50:20 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3abcd80304e0e6536bd8208718d7844ad98c7a90

commit 3abcd80304e0e6536bd8208718d7844ad98c7a90
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-04-03 22:49:44 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-04-03 22:49:44 +0000

    finance/gnucash: Fix build on i386
    
    Reported by:    pkg-fallout
---
 .../files/patch-gnucash_import-export_import-main-matcher.cpp | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/finance/gnucash/files/patch-gnucash_import-export_import-main-matcher.cpp b/finance/gnucash/files/patch-gnucash_import-export_import-main-matcher.cpp
new file mode 100644
index 000000000000..dc497bda9c0d
--- /dev/null
+++ b/finance/gnucash/files/patch-gnucash_import-export_import-main-matcher.cpp
@@ -0,0 +1,11 @@
+--- gnucash/import-export/import-main-matcher.cpp.orig	2024-03-29 20:42:22 UTC
++++ gnucash/import-export/import-main-matcher.cpp
+@@ -847,7 +847,7 @@ gnc_gen_trans_assign_transfer_account_to_selection_cb 
+     bool is_selection = true;
+     auto debugging_enabled{qof_log_check (G_LOG_DOMAIN, QOF_LOG_DEBUG)};
+ 
+-    DEBUG("Rows in selection = %ld", selected_refs.size());
++    DEBUG("Rows in selection = %zu", selected_refs.size());
+ 
+     for (const auto& ref : selected_refs)
+     {