[87597] trunk/dports/gnome/gnucash
dports at macports.org
dports at macports.org
Sun Nov 27 21:40:07 PST 2011
Revision: 87597
http://trac.macports.org/changeset/87597
Author: dports at macports.org
Date: 2011-11-27 21:40:02 -0800 (Sun, 27 Nov 2011)
Log Message:
-----------
gnucash: add patch to fix libgcrypt multiple initialization error that
causes bus error when loading aqbanking module (#31595)
Modified Paths:
--------------
trunk/dports/gnome/gnucash/Portfile
Added Paths:
-----------
trunk/dports/gnome/gnucash/files/patch-src_gnc-module_gnc-module.c.diff
Modified: trunk/dports/gnome/gnucash/Portfile
===================================================================
--- trunk/dports/gnome/gnucash/Portfile 2011-11-28 02:26:51 UTC (rev 87596)
+++ trunk/dports/gnome/gnucash/Portfile 2011-11-28 05:40:02 UTC (rev 87597)
@@ -5,6 +5,7 @@
name gnucash
version 2.4.8
+revision 1
categories gnome x11
license GPL-2+
maintainers dports openmaintainer
@@ -33,6 +34,9 @@
# to use dbus-launch or muck with DYLD_LIBRARY_PATH.
patchfiles patch-configure.diff
+# fix libgcrypt multiple initialization error; see #31595
+patchfiles-append patch-src_gnc-module_gnc-module.c.diff
+
post-patch {
# gnc-fq-dump needs to be patched to use MacPorts perl.
# (autoconf takes care of the other perl scripts.)
Added: trunk/dports/gnome/gnucash/files/patch-src_gnc-module_gnc-module.c.diff
===================================================================
--- trunk/dports/gnome/gnucash/files/patch-src_gnc-module_gnc-module.c.diff (rev 0)
+++ trunk/dports/gnome/gnucash/files/patch-src_gnc-module_gnc-module.c.diff 2011-11-28 05:40:02 UTC (rev 87597)
@@ -0,0 +1,11 @@
+--- src/gnc-module/gnc-module.c 2011-10-11 11:47:40.706200237 -0400
++++ src/gnc-module/gnc-module.c 2011-10-11 11:48:21.254201370 -0400
+@@ -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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111127/ed9ce526/attachment.html>
More information about the macports-changes
mailing list