diff options
Diffstat (limited to 'finance/gnucash/patches/patch-ad')
-rw-r--r-- | finance/gnucash/patches/patch-ad | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/finance/gnucash/patches/patch-ad b/finance/gnucash/patches/patch-ad new file mode 100644 index 00000000000..dc3076ca9ff --- /dev/null +++ b/finance/gnucash/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.7 2006/07/11 12:58:29 wiz Exp $ + +--- src/gnome/druid-acct-period.c.orig 2006-03-06 03:03:15.000000000 +0100 ++++ src/gnome/druid-acct-period.c +@@ -334,7 +334,7 @@ ap_show_menu (GnomeDruidPage *druidpage, + * we may have closed books since last time. */ + info->earliest = get_earliest_in_book (gnc_get_current_book()); + info->earliest_str = qof_print_date(info->earliest); +- PINFO ("date of earliest is %ld %s", info->earliest, ctime (&info->earliest)); ++ PINFO ("date of earliest is %ld %s", (long)info->earliest, ctime (&info->earliest)); + + prepare_remarks (info); + } +@@ -528,7 +528,7 @@ ap_druid_create (AcctPeriodInfo *info) + info->earliest = get_earliest_in_book (gnc_get_current_book()); + info->earliest_str = qof_print_date(info->earliest); + PINFO ("date of earliest transaction is %ld %s", +- info->earliest, ctime (&info->earliest)); ++ (long)info->earliest, ctime (&info->earliest)); + + g_date_clear (&info->closing_date, 1); + g_date_set_time_t (&info->closing_date, info->earliest); |