[packages/libgda] - fix building with mdbtools 0.7.x - rel 21

baggins baggins at pld-linux.org
Sat Nov 30 22:13:22 CET 2013


commit 9e59a8c5d0063f570b8c66d034d643ea9bff8510
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 30 22:13:06 2013 +0100

    - fix building with mdbtools 0.7.x
    - rel 21

 libgda-mdb-0.7.patch | 11 +++++++++++
 libgda.spec          |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libgda.spec b/libgda.spec
index 8b11d9d..77be8ff 100644
--- a/libgda.spec
+++ b/libgda.spec
@@ -19,7 +19,7 @@ Summary:	GNU Data Access library
 Summary(pl.UTF-8):	Biblioteka GNU Data Access
 Name:		libgda
 Version:	1.2.4
-Release:	20
+Release:	21
 Epoch:		1
 License:	LGPL v2/GPL v2
 Group:		Applications/Databases
@@ -37,6 +37,7 @@ Patch8:		%{name}-firebird.patch
 Patch9:		glib.patch
 Patch10:	%{name}-xml.patch
 Patch11:	%{name}-format.patch
+Patch12:	%{name}-mdb-0.7.patch
 URL:		http://www.gnome-db.org/
 %{?with_firebird:BuildRequires:	Firebird-devel}
 BuildRequires:	autoconf >= 2.59
@@ -292,6 +293,7 @@ Pakiet dostarczający dane z xBase (dBase, Clippera, FoxPro) dla GDA.
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 
 %build
 CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions"
diff --git a/libgda-mdb-0.7.patch b/libgda-mdb-0.7.patch
new file mode 100644
index 0000000..7d5cdb7
--- /dev/null
+++ b/libgda-mdb-0.7.patch
@@ -0,0 +1,11 @@
+--- libgda-1.2.4/providers/mdb/util.c~	2007-01-09 13:50:56.000000000 +0100
++++ libgda-1.2.4/providers/mdb/util.c	2013-11-30 22:09:52.004225663 +0100
+@@ -37,7 +37,7 @@
+ 	case MDB_NUMERIC : return GDA_VALUE_TYPE_NUMERIC;
+ 	case MDB_OLE : return GDA_VALUE_TYPE_BINARY;
+ 	case MDB_REPID : return GDA_VALUE_TYPE_BINARY;
+-	case MDB_SDATETIME : return GDA_VALUE_TYPE_TIMESTAMP;
++	case MDB_DATETIME : return GDA_VALUE_TYPE_TIMESTAMP;
+ 	case MDB_TEXT : return GDA_VALUE_TYPE_STRING;
+ 	}
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgda.git/commitdiff/9e59a8c5d0063f570b8c66d034d643ea9bff8510



More information about the pld-cvs-commit mailing list