diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-10 21:32:26 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-10 21:32:26 -0500 |
commit | 6848d2bd98a338151ca1fb48370358085d0c8997 (patch) | |
tree | a1289f3493c46a8bcdea99416a312d56e5e4b2c1 /arch/master/trinity-qt3/qt-odbc.patch | |
parent | 9b2075d9b89fc628c447fbb98f43ef72e4a9c81d (diff) | |
download | tde-packaging-6848d2bd98a338151ca1fb48370358085d0c8997.tar.gz tde-packaging-6848d2bd98a338151ca1fb48370358085d0c8997.zip |
Added arch directory for cmorrison
Diffstat (limited to 'arch/master/trinity-qt3/qt-odbc.patch')
-rw-r--r-- | arch/master/trinity-qt3/qt-odbc.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/master/trinity-qt3/qt-odbc.patch b/arch/master/trinity-qt3/qt-odbc.patch new file mode 100644 index 000000000..6f21e3cf1 --- /dev/null +++ b/arch/master/trinity-qt3/qt-odbc.patch @@ -0,0 +1,19 @@ +diff -up qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp +--- qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig 2009-02-24 11:32:27.000000000 +0100 ++++ qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp 2009-02-24 11:33:43.000000000 +0100 +@@ -57,13 +57,13 @@ + #endif + + // newer platform SDKs use SQLLEN instead of SQLINTEGER +-#ifdef SQLLEN ++#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX) + # define QSQLLEN SQLLEN + #else + # define QSQLLEN SQLINTEGER + #endif + +-#ifdef SQLULEN ++#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX) + # define QSQLULEN SQLULEN + #else + # define QSQLULEN SQLUINTEGER |