summaryrefslogtreecommitdiffstats
path: root/redhat/qt3/qt-x11-free-3.3.8-odbc.patch
diff options
context:
space:
mode:
authoralbator <[email protected]>2011-11-06 09:19:14 +0100
committeralbator <[email protected]>2011-11-06 09:19:14 +0100
commitf4c0c862cd063f006d2028e84c97f559a3ecf26f (patch)
tree2e72302f5a7db2a5fd78ef55be0b25b8f26e997e /redhat/qt3/qt-x11-free-3.3.8-odbc.patch
parent70bc259aa3f4dbd83bd239030690759449ee714b (diff)
downloadtde-packaging-f4c0c862cd063f006d2028e84c97f559a3ecf26f.tar.gz
tde-packaging-f4c0c862cd063f006d2028e84c97f559a3ecf26f.zip
Moves QT3 at in root directory instead of "dependancies"
Diffstat (limited to 'redhat/qt3/qt-x11-free-3.3.8-odbc.patch')
-rw-r--r--redhat/qt3/qt-x11-free-3.3.8-odbc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/redhat/qt3/qt-x11-free-3.3.8-odbc.patch b/redhat/qt3/qt-x11-free-3.3.8-odbc.patch
new file mode 100644
index 000000000..6f21e3cf1
--- /dev/null
+++ b/redhat/qt3/qt-x11-free-3.3.8-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