SOURCES: qt4-ibase.patch (NEW) - more, needed with 64-bit *LONG OD...

qboosh qboosh at pld-linux.org
Fri Jan 4 18:59:43 CET 2008


Author: qboosh                       Date: Fri Jan  4 17:59:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- more, needed with 64-bit *LONG ODBC types

---- Files affected:
SOURCES:
   qt4-ibase.patch (1.2 -> 1.3)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/qt4-ibase.patch
diff -u /dev/null SOURCES/qt4-ibase.patch:1.3
--- /dev/null	Fri Jan  4 18:59:43 2008
+++ SOURCES/qt4-ibase.patch	Fri Jan  4 18:59:38 2008
@@ -0,0 +1,15 @@
+--- qt-x11-opensource-src-4.3.3/src/sql/kernel/qsqldatabase.cpp.orig	2007-12-04 17:42:49.000000000 +0100
++++ qt-x11-opensource-src-4.3.3/src/sql/kernel/qsqldatabase.cpp	2008-01-04 18:21:02.075809521 +0100
+@@ -74,8 +74,12 @@
+ #undef SQL_TYPE_DATE
+ #undef SQL_DATE
+ #define SCHAR IBASE_SCHAR  // avoid clash with ODBC (older versions of ibase.h with Firebird)
++#define SLONG IBASE_SLONG
++#define ULONG IBASE_ULONG
+ #include "../drivers/ibase/qsql_ibase.h"
+ #undef SCHAR
++#undef SLONG
++#undef ULONG
+ #endif
+ 
+ #include "qdebug.h"
================================================================


More information about the pld-cvs-commit mailing list