[gnucash/f15] Fix module unload patch.

Bill Nottingham notting at fedoraproject.org
Thu Jan 19 20:29:44 UTC 2012


commit 91ecb966307dbae275176b28cc1897735f2c80b1
Author: Bill Nottingham <notting at redhat.com>
Date:   Thu Jan 19 11:19:12 2012 -0500

    Fix module unload patch.

 ...nload.patch => gnucash-2.4.9-never-unload.patch |    9 ---------
 gnucash.spec                                       |    2 +-
 2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/gnucash-2.4.7-never-unload.patch b/gnucash-2.4.9-never-unload.patch
similarity index 73%
rename from gnucash-2.4.7-never-unload.patch
rename to gnucash-2.4.9-never-unload.patch
index d77553d..e0e52b2 100644
--- a/gnucash-2.4.7-never-unload.patch
+++ b/gnucash-2.4.9-never-unload.patch
@@ -9,15 +9,6 @@ diff -up gnucash-2.4.7/src/gnc-module/gnc-module.c.foo gnucash-2.4.7/src/gnc-mod
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
-@@ -323,7 +323,7 @@ gnc_module_get_info(const char * fullpat
-     info->module_age         = *(int *)age;
-     info->module_revision    = *(int *)revision;
- 
--
-+    g_module_make_resident(gmodule);
- get_info_close:
-     /*   g_debug("(init) closing '%s'\n", fullpath); */
-     g_module_close(gmodule);
 @@ -513,6 +513,7 @@ gnc_module_load_common(const char * modu
              info->load_count = 1;
              info->init_func  = initfunc;
diff --git a/gnucash.spec b/gnucash.spec
index db46f6d..04d34a2 100644
--- a/gnucash.spec
+++ b/gnucash.spec
@@ -17,7 +17,7 @@ BuildRequires: desktop-file-utils, texinfo
 BuildRequires: gettext, slib >= 3a1-5, libtool, intltool
 BuildRequires: python-devel, libdbi-devel
 Patch0: gnucash-quiet.patch
-Patch1: gnucash-2.4.7-never-unload.patch
+Patch1: gnucash-2.4.9-never-unload.patch
 Requires: gnucash-docs >= 2.2.0
 Requires: slib >= 3a1-5
 Requires: perl(Finance::Quote)


More information about the scm-commits mailing list