summaryrefslogtreecommitdiff
path: root/finance/gnucash/patches/patch-ac
blob: 2f612f56d843f0c94584a1ee25b8cfa6fa2f99e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.4 2007/07/19 19:35:04 wiz Exp $

--- src/app-utils/gnc-exp-parser.c.orig	2007-04-28 23:16:37.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);