head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.32 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.30 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.28 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.26 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.24 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.22 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.20 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.18 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.16 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.14 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.12 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.10 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.8 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.6 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.4 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.2 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.5.0.2 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3; locks; strict; comment @# @; 1.6 date 2006.07.11.13.00.05; author wiz; state dead; branches; next 1.5; 1.5 date 2006.05.16.17.32.50; author wiz; state Exp; branches; next 1.4; 1.4 date 2006.04.29.20.38.57; author wiz; state Exp; branches; next 1.3; 1.3 date 2006.03.13.21.23.03; author joerg; state Exp; branches; next 1.2; 1.2 date 2006.03.07.04.32.49; author wiz; state Exp; branches; next 1.1; 1.1 date 2006.02.23.22.19.45; author joerg; state Exp; branches; next ; desc @@ 1.6 log @Newer version in finance/gnucash. @ text @$NetBSD: patch-ab,v 1.5 2006/05/16 17:32:50 wiz Exp $ --- src/app-utils/gnc-ui-util.c.orig 2006-05-15 01:07:33.000000000 +0000 +++ src/app-utils/gnc-ui-util.c @@@@ -100,6 +100,14 @@@@ gnc_configure_account_separator (void) free(string); } +#if defined(__DragonFly__) +#define LC_CAST (char **) +#define LC_CAST2 (char *) +#else +#define LC_CAST +#define LC_CAST2 +#endif + static void gnc_configure_reverse_balance (void) @@@@ -763,15 +771,15 @@@@ gnc_localeconv (void) lc = *localeconv(); - gnc_lconv_set_utf8(&lc.decimal_point, "."); - gnc_lconv_set_utf8(&lc.thousands_sep, ","); - gnc_lconv_set_utf8(&lc.grouping, "\003"); - gnc_lconv_set_utf8(&lc.int_curr_symbol, "USD "); - gnc_lconv_set_utf8(&lc.currency_symbol, "$"); - gnc_lconv_set_utf8(&lc.mon_decimal_point, "."); - gnc_lconv_set_utf8(&lc.mon_thousands_sep, ","); - gnc_lconv_set_utf8(&lc.mon_grouping, "\003"); - gnc_lconv_set_utf8(&lc.negative_sign, "-"); + gnc_lconv_set_utf8(LC_CAST & lc.decimal_point, "."); + gnc_lconv_set_utf8(LC_CAST & lc.thousands_sep, ","); + gnc_lconv_set_utf8(LC_CAST & lc.grouping, "\003"); + gnc_lconv_set_utf8(LC_CAST & lc.int_curr_symbol, "USD "); + gnc_lconv_set_utf8(LC_CAST & lc.currency_symbol, "$"); + gnc_lconv_set_utf8(LC_CAST & lc.mon_decimal_point, "."); + gnc_lconv_set_utf8(LC_CAST & lc.mon_thousands_sep, ","); + gnc_lconv_set_utf8(LC_CAST & lc.mon_grouping, "\003"); + gnc_lconv_set_utf8(LC_CAST & lc.negative_sign, "-"); gnc_lconv_set_char(&lc.frac_digits, 2); gnc_lconv_set_char(&lc.int_frac_digits, 2); @@@@ -1275,13 +1283,13 @@@@ PrintAmountInternal(char *buf, gnc_numer if (info->monetary) { - 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; - group = lc->grouping; + separator = LC_CAST2 lc->thousands_sep; + group = LC_CAST2 lc->grouping; } buf_ptr = buf; @@@@ -1349,7 +1357,7 @@@@ PrintAmountInternal(char *buf, gnc_numer } else { - char *decimal_point; + const char *decimal_point; guint8 num_decimal_places = 0; char *temp_ptr = temp_buf; @@@@ -1632,13 +1640,13 @@@@ xaccParseAmount (const char * in_str, gb { group_separator = g_utf8_get_char(lc->mon_thousands_sep); decimal_point = g_utf8_get_char(lc->mon_decimal_point); - group = lc->mon_grouping; + group = LC_CAST2 lc->mon_grouping; } else { group_separator = g_utf8_get_char(lc->thousands_sep); decimal_point = g_utf8_get_char(lc->decimal_point); - group = lc->grouping; + group = LC_CAST2 lc->grouping; } return xaccParseAmountExtended(in_str, monetary, negative_sign, decimal_point, @ 1.5 log @Update to 1.9.6: 1.9.6 - 14 May 2006 o Welcome to GnuCash 1.9.6 aka "Time to make a difference" the first beta release of the GnuCash Open Source Accounting Software which will eventually lead to the stable version 2.0.0. This release contains many bugfixes since the sixth unstable release. o PLEASE TEST any and all features important to you. Then post any bugs you find to bugzilla http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash o We would like to encourage people to test this and any further releases as much as possible and submit bug reports in order that we can polish GnuCash to be as stable as possible for the 2.0.0 release in a few weeks. o Major bugfixes include - o More Register fixes. o Fixes to Scheduled Transactions. o Many Report fixes. o Many updated translations. o New icons o Fixes to lots functionality o Fixes to logging o Many Qof fixes o Fixes to budgeting o HBCI fixes @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2006/04/29 20:38:57 wiz Exp $ @ 1.4 log @Update to 1.9.5: 1.9.5 - 16 Apr 2006 o Welcome to GnuCash 1.9.5 aka "The final countdown begins" the sixth of several unstable releases of the GnuCash Open Source Accounting Software which will eventually lead to the stable version 2.0.0. This release contains many bugfixes since the fifth release but is still only intended for developers and adventurous testers who want to help tracking down bugs. o WARNING WARNING WARNING - Make sure you make backups of any files used in testing versions of GnuCash in the 1.9.x series. Although the developers go to great lengths to ensure that no data will be lost we cannot guarentee that your data will not be affected if for some reason GnuCash crashes in testing these releases. o PLEASE TEST TEST AND TEST SOME MORE any and all features important to you. Then post any bugs you find to bugzilla http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash o Major bugfixes include - o More Register fixes. o Fixes to Scheduled Transactions. o Report fixes. o Make the entire UI insensitive when the progress bar is showing. o Fixes for currencies and currency quote retrievals. o Lots of Qof fixes. o Profiling fixes to improve speed and response. o Memory leak fixes. o Fixes for 64-bit compiles. o Add a per-account "hidden" flag. o Fixes to compile with gcc4. o Fixes to xml file format. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2006/03/13 21:23:03 joerg Exp $ d3 1 a3 1 --- src/app-utils/gnc-ui-util.c.orig 2006-04-16 23:52:14.000000000 +0000 d20 1 a20 1 @@@@ -749,15 +757,15 @@@@ gnc_localeconv (void) d45 1 a45 1 @@@@ -1261,13 +1269,13 @@@@ PrintAmountInternal(char *buf, gnc_numer d63 1 a63 1 @@@@ -1335,7 +1343,7 @@@@ PrintAmountInternal(char *buf, gnc_numer d72 1 a72 1 @@@@ -1618,13 +1626,13 @@@@ xaccParseAmount (const char * in_str, gb @ 1.3 log @More DragonFly fixes. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2006/03/07 04:32:49 wiz Exp $ d3 1 a3 1 --- src/app-utils/gnc-ui-util.c.orig 2006-03-06 02:02:59.000000000 +0000 d5 1 a5 1 @@@@ -93,6 +93,14 @@@@ gnc_configure_account_separator (void) d20 1 a20 1 @@@@ -742,15 +750,15 @@@@ gnc_localeconv (void) d45 1 a45 1 @@@@ -1228,13 +1236,13 @@@@ PrintAmountInternal(char *buf, gnc_numer d63 1 a63 1 @@@@ -1302,7 +1310,7 @@@@ PrintAmountInternal(char *buf, gnc_numer d72 1 a72 1 @@@@ -1585,13 +1593,13 @@@@ xaccParseAmount (const char * in_str, gb @ 1.2 log @Update to 1.9.2: 1.9.2 - 05 Mar 2006 o Welcome to GnuCash 1.9.2 aka "With extra flavor enhancements" the third of several unstable releases of the GnuCash Open Source Accounting Software which will eventually lead to the stable version 2.0.0. This release contains many bugfixes since the second release but is still only intended for developers and adventurous testers who want to help tracking down bugs. o WARNING WARNING WARNING - Make sure you make backups of any files used in testing versions of GnuCash in the 1.9.x series. Although the developers go to great lengths to ensure that no data will be lost we cannot guarentee that your data will not be affected if for some reason GnuCash crashes in testing these releases. o PLEASE TEST TEST AND TEST SOME MORE any and all features important to you. Then post any bugs you find to bugzilla http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash o Major bugfixes include - o More Register fixes. o HIGify the scheduled transaction dialogs. o Fix the qof configure test for OSX. o Compile cleanly with when _FORTIFY_SOURCE is defined. This definition is forced when building RPMs on FC4. o Catch and defer the quit command if a file save is in progress. o Disable quote related functionality when F::Q isn't installed. o Lots of Qof fixes. o Add ebuild for gnucash 1.9/2.0 series. o Fix x-axis labeling and other barchart improvements. o Get MT940 importer to compile again (experimental; requires aqbanking-1.9.7). It is not yet tested with actual files. o Menu and toolbar fixes. o Remember the order in which the notebook tabs are referenced. o Updates to business invoicing functionality. o Fix Chart of Accounts export so it works again. o Add support for using multi-byte unicode thousands separator and decimal point characters when printing numbers. o Lots of fixes to splits and transaction editing. o Added new icons. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2006/02/23 22:19:45 joerg Exp $ d45 2 a46 1 @@@@ -1229,12 +1237,12 @@@@ PrintAmountInternal(char *buf, gnc_numer d49 1 a49 1 separator = lc->mon_thousands_sep; d51 1 d56 1 a56 1 separator = lc->thousands_sep; d58 1 d63 9 @ 1.1 log @Fix errno. Work around gnucash trying clever things with struct lconv, which breaks with -Werror on DragonFly. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/app-utils/gnc-ui-util.c.orig 2006-02-23 18:49:41.000000000 +0000 d5 3 a7 3 @@@@ -47,6 +47,14 @@@@ #include "Transaction.h" #include "guile-mappings.h" d18 3 a20 3 #define KEY_CURRENCY_CHOICE "currency_choice" #define KEY_CURRENCY_OTHER "currency_other" @@@@ -738,15 +746,15 @@@@ gnc_localeconv (void) d45 1 a45 1 @@@@ -1224,12 +1232,12 @@@@ PrintAmountInternal(char *buf, gnc_numer d48 1 a48 1 separator = lc->mon_thousands_sep[0]; d54 1 a54 1 separator = lc->thousands_sep[0]; d60 1 a60 1 @@@@ -1574,13 +1582,13 @@@@ xaccParseAmount (const char * in_str, gb d62 2 a63 2 group_separator = lc->mon_thousands_sep[0]; decimal_point = lc->mon_decimal_point[0]; d69 2 a70 2 group_separator = lc->thousands_sep[0]; decimal_point = lc->decimal_point[0]; @