summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--finance/gnucash-devel/distinfo5
-rw-r--r--finance/gnucash-devel/patches/patch-ab20
2 files changed, 19 insertions, 6 deletions
diff --git a/finance/gnucash-devel/distinfo b/finance/gnucash-devel/distinfo
index 7ff3102c24e..738c12992ba 100644
--- a/finance/gnucash-devel/distinfo
+++ b/finance/gnucash-devel/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2006/03/07 04:32:48 wiz Exp $
+$NetBSD: distinfo,v 1.5 2006/03/13 21:23:03 joerg Exp $
SHA1 (gnucash-1.9.2.tar.gz) = beb5e16a69d9b6f9e51a90f8b9128272654f3246
RMD160 (gnucash-1.9.2.tar.gz) = b3a43a3157c7f1770715a9a333097e77b90d6c47
Size (gnucash-1.9.2.tar.gz) = 10006488 bytes
SHA1 (patch-aa) = db08a08fe8181822c1038d0adb3174dc2ebbcc12
-SHA1 (patch-ab) = f0ad9d6c5b9c626c7099cdaae073e4c71a1a2802
+SHA1 (patch-ab) = c4a8f0bf0276424d5d7fc77b99d2757a9f1d56c0
+SHA1 (patch-ac) = e151916a2434a709c32c6a7169ddc287a0d5d229
diff --git a/finance/gnucash-devel/patches/patch-ab b/finance/gnucash-devel/patches/patch-ab
index 8c7c3353f15..ebff3add25f 100644
--- a/finance/gnucash-devel/patches/patch-ab
+++ b/finance/gnucash-devel/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2006/03/07 04:32:49 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2006/03/13 21:23:03 joerg Exp $
--- src/app-utils/gnc-ui-util.c.orig 2006-03-06 02:02:59.000000000 +0000
+++ src/app-utils/gnc-ui-util.c
@@ -42,21 +42,33 @@ $NetBSD: patch-ab,v 1.2 2006/03/07 04:32:49 wiz Exp $
gnc_lconv_set_char(&lc.frac_digits, 2);
gnc_lconv_set_char(&lc.int_frac_digits, 2);
-@@ -1229,12 +1237,12 @@ PrintAmountInternal(char *buf, gnc_numer
+@@ -1228,13 +1236,13 @@ PrintAmountInternal(char *buf, gnc_numer
+
if (info->monetary)
{
- separator = lc->mon_thousands_sep;
+- separator = lc->mon_thousands_sep;
- group = lc->mon_grouping;
++ separator = LC_CAST2 lc->mon_thousands_sep;
+ group = LC_CAST2 lc->mon_grouping;
}
else
{
- separator = lc->thousands_sep;
+- separator = lc->thousands_sep;
- group = lc->grouping;
++ separator = LC_CAST2 lc->thousands_sep;
+ group = LC_CAST2 lc->grouping;
}
buf_ptr = buf;
+@@ -1302,7 +1310,7 @@ PrintAmountInternal(char *buf, gnc_numer
+ }
+ else
+ {
+- char *decimal_point;
++ const char *decimal_point;
+ guint8 num_decimal_places = 0;
+ char *temp_ptr = temp_buf;
+
@@ -1585,13 +1593,13 @@ xaccParseAmount (const char * in_str, gb
{
group_separator = g_utf8_get_char(lc->mon_thousands_sep);