[packages/libgda3] - fix building with mdbtools 0.7
baggins
baggins at pld-linux.org
Sat Nov 30 22:31:24 CET 2013
commit d9153d00b0024cf8833ecc98608948464787aece
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Nov 30 22:30:56 2013 +0100
- fix building with mdbtools 0.7
libgda3.spec | 2 ++
mdb-0.7.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/libgda3.spec b/libgda3.spec
index 5943b27..67f5daf 100644
--- a/libgda3.spec
+++ b/libgda3.spec
@@ -36,6 +36,7 @@ Patch0: %{name}-configure.patch
Patch1: %{name}-am.patch
Patch2: glib232.patch
Patch3: format-security.patch
+Patch4: mdb-0.7.patch
URL: http://www.gnome-db.org/
%{?with_firebird:BuildRequires: Firebird-devel}
BuildRequires: autoconf >= 2.59
@@ -274,6 +275,7 @@ Pakiet dostarczający dane z xBase (dBase, Clippera, FoxPro) dla GDA.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%if %{without gamin}
sed -i -e 's#PKG_CHECK_MODULES(GAMIN.*)#have_fam=no#g' configure.in
diff --git a/mdb-0.7.patch b/mdb-0.7.patch
new file mode 100644
index 0000000..78641da
--- /dev/null
+++ b/mdb-0.7.patch
@@ -0,0 +1,11 @@
+--- libgda-3.1.5/providers/mdb/gda-mdb-provider.c~ 2013-11-30 22:13:45.023125651 +0100
++++ libgda-3.1.5/providers/mdb/gda-mdb-provider.c 2013-11-30 22:25:22.513751601 +0100
+@@ -370,7 +370,7 @@
+ case MDB_NUMERIC : return GDA_TYPE_NUMERIC;
+ case MDB_OLE : return GDA_TYPE_BINARY;
+ case MDB_REPID : return GDA_TYPE_BINARY;
+- case MDB_SDATETIME : return GDA_TYPE_TIMESTAMP;
++ case MDB_DATETIME : return GDA_TYPE_TIMESTAMP;
+ case MDB_TEXT : return G_TYPE_STRING;
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgda3.git/commitdiff/1ec2b37e29934f8cd08b401b8a42fe5d1eceddb8
More information about the pld-cvs-commit
mailing list