summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-02-16 19:43:47 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-02-16 19:43:47 +0100
commit5c0bbe731541c633c114f2f31fb38a68b370e18f (patch)
tree4e0b0fadb73869604ad521cc7b4cd83c635e247f /redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch
parent4a3f0ef6b92d4a30e310be5912896ca9bfd0f3c5 (diff)
downloadtde-packaging-5c0bbe731541c633c114f2f31fb38a68b370e18f.tar.gz
tde-packaging-5c0bbe731541c633c114f2f31fb38a68b370e18f.zip
[RHEL/Fedora] Moves qt3 and tqt3 to the correct location
Diffstat (limited to 'redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch')
-rw-r--r--redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch b/redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch
new file mode 100644
index 000000000..6f21e3cf1
--- /dev/null
+++ b/redhat/dependencies/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