summaryrefslogtreecommitdiff
path: root/finance/gnucash/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'finance/gnucash/patches/patch-ac')
-rw-r--r--finance/gnucash/patches/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/finance/gnucash/patches/patch-ac b/finance/gnucash/patches/patch-ac
new file mode 100644
index 00000000000..42288941fbd
--- /dev/null
+++ b/finance/gnucash/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.3 2006/07/11 12:58:29 wiz Exp $
+
+--- src/app-utils/gnc-exp-parser.c.orig 2006-05-15 01:07:33.000000000 +0000
++++ src/app-utils/gnc-exp-parser.c
+@@ -546,9 +546,15 @@ gnc_exp_parser_parse_separate_vars (cons
+
+ lc = gnc_localeconv ();
+
++#if defined(__DragonFly__)
++ pe = init_parser (vars, (char *)lc->mon_decimal_point, (char *)lc->mon_thousands_sep,
++ trans_numeric, numeric_ops, negate_numeric, g_free,
++ func_op);
++#else
+ pe = init_parser (vars, lc->mon_decimal_point, lc->mon_thousands_sep,
+ trans_numeric, numeric_ops, negate_numeric, g_free,
+ func_op);
++#endif
+
+ error_loc = parse_string (&result, expression, pe);
+