rpms/qt/devel qt-x11-opensource-src-4.5.0-rc1-odbc.patch, NONE, 1.1 qt.spec, 1.234, 1.235

Than Ngo than at fedoraproject.org
Mon Feb 23 13:29:10 UTC 2009


Author: than

Update of /cvs/extras/rpms/qt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9911

Modified Files:
	qt.spec 
Added Files:
	qt-x11-opensource-src-4.5.0-rc1-odbc.patch 
Log Message:
fix build problem against new unixODBC



qt-x11-opensource-src-4.5.0-rc1-odbc.patch:

--- NEW FILE qt-x11-opensource-src-4.5.0-rc1-odbc.patch ---
diff -up qt-x11-opensource-src-4.5.0-rc1/src/sql/drivers/odbc/qsql_odbc.cpp.orig qt-x11-opensource-src-4.5.0-rc1/src/sql/drivers/odbc/qsql_odbc.cpp
--- qt-x11-opensource-src-4.5.0-rc1/src/sql/drivers/odbc/qsql_odbc.cpp.orig	2009-02-23 14:02:44.000000000 +0100
+++ qt-x11-opensource-src-4.5.0-rc1/src/sql/drivers/odbc/qsql_odbc.cpp	2009-02-23 14:04:03.000000000 +0100
@@ -64,13 +64,13 @@ QT_BEGIN_NAMESPACE
 #endif
 
 // newer platform SDKs use SQLLEN instead of SQLINTEGER
-#if defined(SQLLEN) || defined(Q_OS_WIN64)
+#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
 # define QSQLLEN SQLLEN
 #else
 # define QSQLLEN SQLINTEGER
 #endif
 
-#if defined(SQLULEN) || defined(Q_OS_WIN64)
+#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
 # define QSQLULEN SQLULEN
 #else
 # define QSQLULEN SQLUINTEGER


Index: qt.spec
===================================================================
RCS file: /cvs/extras/rpms/qt/devel/qt.spec,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -r1.234 -r1.235
--- qt.spec	22 Feb 2009 22:55:49 -0000	1.234
+++ qt.spec	23 Feb 2009 13:28:39 -0000	1.235
@@ -12,7 +12,7 @@
 Name:    qt4
 %endif
 Version: 4.5.0
-Release: 0.5.rc1%{?dist}
+Release: 0.6.rc1%{?dist}
 
 ## for 4.5.0 final:
 ##License: LGPLv2 or GPLv3 with exceptions
@@ -46,6 +46,7 @@
 Patch9: qt-x11-opensource-src-4.4.0-qgtkstyle.patch
 patch11: qt-x11-opensource-src-4.5.0-rc1-misc.patch
 Patch12: qt-x11-opensource-src-4.5.0-rc1-ppc64.patch
+Patch13: qt-x11-opensource-src-4.5.0-rc1-odbc.patch
 
 ## upstreamable bits
 # http://bugzilla.redhat.com/485677
@@ -315,6 +316,7 @@
 %patch9 -p1 -b .qgtkstyle
 %patch11 -p1 -b .misc
 %patch12 -p1 -b .ppc64
+%patch13 -p1 -b .odbc
 
 %patch50 -p1 -b .qhostaddress
 
@@ -781,6 +783,9 @@
 
 
 %changelog
+* Mon Feb 23 2009 Than Ngo <than at redhat.com> 4.5.0-0.6.rc1
+- fix build problem against new unixODBC
+
 * Sun Feb 22 2009 Rex Dieter <rdieter at fedoraproject.org> 4.5.0-0.5.rc1
 - revert license, change won't land until official 4.5.0 release
 - workaround broken qhostaddress.h (#485677)




More information about the fedora-extras-commits mailing list