diff options
author | 2024-12-26 02:52:37 +0000 | |
---|---|---|
committer | 2024-12-26 02:52:37 +0000 | |
commit | 9a46cee32584b037d7a7d69df35865d48c6cc1bc (patch) | |
tree | e0464a9891855b399b212504abf9e5e32365fd74 /app-office/gnucash/files | |
parent | app-doc/gnucash-docs: add 5.10 (diff) | |
download | gentoo-9a46cee32584b037d7a7d69df35865d48c6cc1bc.tar.gz gentoo-9a46cee32584b037d7a7d69df35865d48c6cc1bc.tar.bz2 gentoo-9a46cee32584b037d7a7d69df35865d48c6cc1bc.zip |
app-office/gnucash: add 5.10
Closes: https://bugs.gentoo.org/946388
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-office/gnucash/files')
-rw-r--r-- | app-office/gnucash/files/gnucash-5.10-import-qif.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-office/gnucash/files/gnucash-5.10-import-qif.patch b/app-office/gnucash/files/gnucash-5.10-import-qif.patch new file mode 100644 index 000000000000..b5d5b2988a6d --- /dev/null +++ b/app-office/gnucash/files/gnucash-5.10-import-qif.patch @@ -0,0 +1,27 @@ +https://github.com/Gnucash/gnucash/commit/6531d3e46b7bee1add61aa6c6aaf8fb1f889a586 + +From 6531d3e46b7bee1add61aa6c6aaf8fb1f889a586 Mon Sep 17 00:00:00 2001 +From: John Ralls <jralls@ceridwen.us> +Date: Mon, 23 Dec 2024 17:34:19 -0800 +Subject: [PATCH] Bug 799494 - Version 5.10 Fails to import QIF file + +Require only one split in qif-import:qif-to-gnc, apparently it's too +early to require two. +--- + gnucash/import-export/qif-imp/qif-to-gnc.scm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gnucash/import-export/qif-imp/qif-to-gnc.scm b/gnucash/import-export/qif-imp/qif-to-gnc.scm +index 899f8b9f9b8..dc57a3a0322 100644 +--- a/gnucash/import-export/qif-imp/qif-to-gnc.scm ++++ b/gnucash/import-export/qif-imp/qif-to-gnc.scm +@@ -434,7 +434,7 @@ + ;; there aren't at least 2 splits and that will cause a + ;; UAF in xaccTransRecordPrice. See https://bugs.gnucash.org/show_bug.cgi?id=799420 + (let ((splits (qif-xtn:splits xtn))) +- (if (not (or (qif-xtn:mark xtn) (or (null? splits) (null? (cdr splits))))) ++ (if (not (or (qif-xtn:mark xtn) (null? splits))) + ;; Convert into a GnuCash transaction. + (let ((gnc-xtn (xaccMallocTransaction + (gnc-get-current-book)))) + |