ports/129587: [patch] finance/gnucash fix support for aqbanking3 on FreeBSD

G. Paul Ziemba p-fbsd-bugs at ziemba.us
Fri Dec 12 06:30:03 UTC 2008


>Number:         129587
>Category:       ports
>Synopsis:       [patch] finance/gnucash fix support for aqbanking3 on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 12 06:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     G. Paul Ziemba
>Release:        7.1-PRERELEASE
>Organization:
>Environment:
FreeBSD hairball.ziemba.us 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Nov 18 13:50:14 PST 2008     root at hairball:/usr/obj/usr/src/sys/GPZ-081118  i386

>Description:
The gnucash-2.2.7 port (finance/gnucash) currently supports aqbanking-2.X, which is getting long in the tooth. As of 2.2.6, gnucash supports aqbanking-3.X, but it does not work on FreeBSD.

Bug fix has been submitted and accepted upstream (please refer to http://bugzilla.gnome.org/show_bug.cgi?id=564033) and will presumably show up in a future gnucash release. In the meantime, here is a patch we can use for the 2.2.7 port. (port updates for aqbanking-3.X forthcoming)
>How-To-Repeat:
1. Build/install aqbanking-3.8.1
2. Ensure no prior versions of aqbanking are installed
3. Build/install gnucash-2.2.7 port with AQBANKING=on
4. Observe that when building gnucash, configure detects aqbanking, and
5. when installing gnucash, /usr/local/lib/gnucash/libgncmod-aqbanking.{so,la} is installed, but
6. "Online Actions" submenu does not appear in the "Actions" menu

Since aqbanking is flagged as an "optional" module, there are no errors logged when the module load step fails.
>Fix:
Simple patch attached.

Patch attached with submission follows:

--- src/import-export/aqbanking/druid-ab-initial.c.orig	2008-12-10 12:28:52.000000000 -0800
+++ src/import-export/aqbanking/druid-ab-initial.c	2008-12-10 12:17:01.000000000 -0800
@@ -35,6 +35,9 @@
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
 #include <gdk/gdkkeysyms.h>
+#ifdef HAVE_SYS_WAIT_H
+#    include <sys/wait.h>
+#endif
 #include <fcntl.h>
 #include <unistd.h>
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list