Hello community, here is the log from the commit of package gnucash for openSUSE:Factory checked in at 2014-07-17 06:58:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnucash (Old) and /work/SRC/openSUSE:Factory/.gnucash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnucash" Changes: -------- --- /work/SRC/openSUSE:Factory/gnucash/gnucash.changes 2014-04-02 17:22:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnucash.new/gnucash.changes 2014-07-17 06:58:14.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jul 10 15:04:46 UTC 2014 - dims...@opensuse.org + +- Add gnucash-libdbi-0.9.patch: Fix build with libdbi-0.9.0+git23 + and newer. Only applied on openSUSE > 13.1.5 (Factory, but not + SLE12). + +------------------------------------------------------------------- New: ---- gnucash-libdbi-0.9.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnucash.spec ++++++ --- /var/tmp/diff_new_pack.Uj8KiW/_old 2014-07-17 06:58:15.000000000 +0200 +++ /var/tmp/diff_new_pack.Uj8KiW/_new 2014-07-17 06:58:15.000000000 +0200 @@ -27,6 +27,8 @@ Source1: %{name}-rpmlintrc # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches Patch0: gnucash-cpan-warning.patch +# PATCH-FIX-UPSTREAM gnucash-libdbi-0.9.patch dims...@opensuse.org -- Fix build with libdbi-0.9.0+git23 and newer +Patch1: gnucash-libdbi-0.9.patch BuildRequires: automake BuildRequires: doxygen BuildRequires: fdupes @@ -136,6 +138,11 @@ %setup -q # This patch must be applied: %patch0 +%if 0%{?suse_version} > 1315 +# in openSUSE Factory, we have libdbi 0.9.0+git23, which changed the API a bit +# SLE12 contains libdbi 0.9.0, before this API change. +%patch1 -p1 +%endif %build %if %{?suse_version} >= 1210 ++++++ gnucash-libdbi-0.9.patch ++++++ Index: gnucash-2.6.3/src/backend/dbi/gnc-backend-dbi.c =================================================================== --- gnucash-2.6.3.orig/src/backend/dbi/gnc-backend-dbi.c +++ gnucash-2.6.3/src/backend/dbi/gnc-backend-dbi.c @@ -2039,7 +2039,7 @@ row_get_value_at_col_name( GncSqlRow* ro dbi_result_t *result = (dbi_result_t*)(dbi_row->result); guint64 row = dbi_result_get_currow (result); guint idx = dbi_result_get_field_idx (result, col_name) - 1; - time64 time = result->rows[row]->field_values[idx].d_datetime; + time64 time = _dbi_make_datetime(result->rows[row]->field_values[idx].d_datetimex); (void)g_value_init( value, G_TYPE_INT64 ); g_value_set_int64 (value, time); } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org