revert odbc patch, already handled by 0273-odbc-64bit-compile.diff in

qt-copy
This commit is contained in:
Rex Dieter 2009-02-23 15:10:55 +00:00
parent 842ac43081
commit 281fd8a2b0
2 changed files with 1 additions and 25 deletions

View File

@ -1,19 +0,0 @@
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

View File

@ -12,7 +12,7 @@ Epoch: 1
Name: qt4
%endif
Version: 4.5.0
Release: 0.6.rc1%{?dist}
Release: 0.5.rc1%{?dist}
## for 4.5.0 final:
##License: LGPLv2 or GPLv3 with exceptions
@ -46,7 +46,6 @@ Patch5: qt-all-opensource-src-4.4.0-rc1-as_IN-437440.patch
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
@ -316,7 +315,6 @@ test -x apply_patches && ./apply_patches
%patch9 -p1 -b .qgtkstyle
%patch11 -p1 -b .misc
%patch12 -p1 -b .ppc64
%patch13 -p1 -b .odbc
%patch50 -p1 -b .qhostaddress
@ -783,9 +781,6 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%changelog
* Mon Feb 23 2009 Than Ngo <than@redhat.com> 4.5.0-0.6.rc1
- fix build problem against new unixODBC
* Sun Feb 22 2009 Rex Dieter <rdieter@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)