--- /dev/null
+--- libgda-5.2.4/libgda/sqlite/gda-sqlite-pstmt.h~ 2015-06-12 22:05:14.000000000 +0200
++++ libgda-5.2.4/libgda/sqlite/gda-sqlite-pstmt.h 2016-10-18 22:45:26.179827250 +0200
+@@ -24,12 +24,16 @@
+ #ifdef STATIC_SQLITE
+ #include "sqlite-src/sqlite3.h"
+ #else
++ #ifdef WITH_BDBSQLITE
++ #include <dbsql.h>
++ #else
+ # ifdef HAVE_SQLITE
+ # include <sqlite3.h>
+ # else
+ # include "sqlite-src/sqlite3.h"
+ #endif
+ #endif
++#endif
+
+ G_BEGIN_DECLS
+
Summary(pl.UTF-8): Biblioteka GNU Data Access
Name: libgda5
Version: 5.2.4
-Release: 6
+Release: 7
License: LGPL v2+/GPL v2+
Group: Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-%{version}.tar.xz
Patch5: java-arch.patch
Patch6: java8.patch
Patch7: vapigen-detect.patch
+Patch8: %{name}-sqlite.patch
URL: http://www.gnome-db.org/
%{?with_firebird:BuildRequires: Firebird-devel}
BuildRequires: autoconf >= 2.68
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%build
# included version is bash-specific, use system file