summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2018-02-18 07:31:26 -0500
committerAaron W. Swenson <titanofold@gentoo.org>2018-02-18 07:31:44 -0500
commitabd6bba4c31bb6e546bb8e1da37fa971ffa55746 (patch)
treefc495654335c1b550910b3f283a302be65997e49 /app-office/gnucash/files
parentsys-apps/keyutils-1.5.9-r4: alpha stable (diff)
downloadgentoo-abd6bba4c31bb6e546bb8e1da37fa971ffa55746.tar.gz
gentoo-abd6bba4c31bb6e546bb8e1da37fa971ffa55746.tar.bz2
gentoo-abd6bba4c31bb6e546bb8e1da37fa971ffa55746.zip
app-office/gnucash: Fix 2.7.4 test failures
Fix a double-free bug in test-userdata-dir.c. Copy over common/test-core/unittest_support.py to the BUILDDIR so that it can be sourced by the python-bindings test. Set XDG_DATA_HOME so that it’s pointing to the same place as TMPDIR. Not fixed: Locale dependent tests. /etc/locale.gen needs the following: en_GB.UTF-8 UTF-8 en_US.UTF-8 UTF-8 fr_FR.UTF-8 UTF-8 Bug: https://bugs.gentoo.org/647596 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-office/gnucash/files')
-rw-r--r--app-office/gnucash/files/gnucash-2.7.4-double_free.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-office/gnucash/files/gnucash-2.7.4-double_free.patch b/app-office/gnucash/files/gnucash-2.7.4-double_free.patch
new file mode 100644
index 000000000000..9d82e72f96b3
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-2.7.4-double_free.patch
@@ -0,0 +1,12 @@
+diff --git a/libgnucash/core-utils/test/test-userdata-dir.c b/libgnucash/core-utils/test/test-userdata-dir.c
+index 5a8cd5c50..a702a56aa 100644
+--- a/libgnucash/core-utils/test/test-userdata-dir.c
++++ b/libgnucash/core-utils/test/test-userdata-dir.c
+@@ -338,7 +338,6 @@ main(int argc, char **argv)
+
+ /* Clean up the temporaries that were created for the GNC_DATA_HOME test run */
+ g_free (home_dir);
+- g_free (tmp_dir);
+ tmp_dir = g_build_filename(gnc_data_home_dir, "data", (gchar *)NULL);
+ g_rmdir (tmp_dir);
+ g_free (tmp_dir);