diff options
Diffstat (limited to 'finance')
-rw-r--r-- | finance/gnucash/Makefile | 4 | ||||
-rw-r--r-- | finance/gnucash/distinfo | 3 | ||||
-rw-r--r-- | finance/gnucash/patches/patch-src_bin_gnucash-bin.c | 25 |
3 files changed, 29 insertions, 3 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index f016c5cfd7c..6e86a67210a 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.200 2014/04/12 14:19:56 wiz Exp $ +# $NetBSD: Makefile,v 1.201 2014/04/21 21:40:01 wiz Exp $ DISTNAME= gnucash-2.6.3 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= finance MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnucash/} EXTRACT_SUFX= .tar.bz2 diff --git a/finance/gnucash/distinfo b/finance/gnucash/distinfo index 90c93ddad98..4c0ebc89c12 100644 --- a/finance/gnucash/distinfo +++ b/finance/gnucash/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.64 2014/04/03 09:44:02 wiz Exp $ +$NetBSD: distinfo,v 1.65 2014/04/21 21:40:01 wiz Exp $ SHA1 (gnucash-2.6.3.tar.bz2) = 40ea9c069d0ad0a811b74f00c2b32faad6108a6a RMD160 (gnucash-2.6.3.tar.bz2) = f9426aa5b31e731bc4d7a0837387b3a8d364c0a6 Size (gnucash-2.6.3.tar.bz2) = 10822437 bytes +SHA1 (patch-src_bin_gnucash-bin.c) = 68edf468f278faf324bbf5c5725b4954d23d8c19 SHA1 (patch-src_scm_price-quotes.scm) = 2f50f95fc512e18bb246f076ae80b299256e010e diff --git a/finance/gnucash/patches/patch-src_bin_gnucash-bin.c b/finance/gnucash/patches/patch-src_bin_gnucash-bin.c new file mode 100644 index 00000000000..12492f7a2a3 --- /dev/null +++ b/finance/gnucash/patches/patch-src_bin_gnucash-bin.c @@ -0,0 +1,25 @@ +$NetBSD: patch-src_bin_gnucash-bin.c,v 1.1 2014/04/21 21:40:01 wiz Exp $ + +Allow starting gnucash in the background. +python's readline module causes a SIGTTOU to be sent and if this +is not handled (even by ignoring it), it stops the process. + +--- src/bin/gnucash-bin.c.orig 2014-03-01 19:55:35.000000000 +0000 ++++ src/bin/gnucash-bin.c +@@ -22,6 +22,7 @@ + */ + #include "config.h" + ++#include <signal.h> + #include <stdlib.h> + #include <stdio.h> + #include <string.h> +@@ -566,6 +567,8 @@ inner_main (void *closure, int argc, cha + char* fn; + GError *error = NULL; + ++ signal(SIGTTOU, SIG_IGN); ++ + scm_c_eval_string("(debug-set! stack 200000)"); + + main_mod = scm_c_resolve_module("gnucash main"); |