summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch
diff options
context:
space:
mode:
authoralbator <albator@aria.vtf>2011-09-04 16:45:16 +0200
committeralbator <albator@aria.vtf>2011-09-04 16:45:16 +0200
commit9763eb1822a7e4e9220c2cd006b73c25af53f4f5 (patch)
tree1adcbb55194d9650157e7160236ac8a78b7e4f21 /redhat/dependencies/qt3/qt-x11-free-3.3.8-odbc.patch
parent8bb54d3c34809687b683704dbea4efdd7e344740 (diff)
downloadtde-packaging-9763eb1822a7e4e9220c2cd006b73c25af53f4f5.tar.gz
tde-packaging-9763eb1822a7e4e9220c2cd006b73c25af53f4f5.zip
Initial QT3 build for RHEL 6
Based on original RHEL 6 qt3 3.3.8b RPM.
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