Author: evgeni Date: 2013-12-31 15:26:26 +0000 (Tue, 31 Dec 2013) New Revision: 14742
Added: packages/trunk/pokerth/debian/patches/01_restore_qt4_compat.patch Modified: packages/trunk/pokerth/debian/changelog packages/trunk/pokerth/debian/patches/series Log: Restore compatibility with Qt4 Modified: packages/trunk/pokerth/debian/changelog =================================================================== --- packages/trunk/pokerth/debian/changelog 2013-12-29 11:42:32 UTC (rev 14741) +++ packages/trunk/pokerth/debian/changelog 2013-12-31 15:26:26 UTC (rev 14742) @@ -1,3 +1,9 @@ +pokerth (1.1.0-2) UNRELEASED; urgency=medium + + * Restore compatibility with Qt4, patch by freespacer@#PokerTH. + + -- Evgeni Golov <[email protected]> Tue, 31 Dec 2013 16:25:26 +0100 + pokerth (1.1.0-1) unstable; urgency=medium * New upstream release. Added: packages/trunk/pokerth/debian/patches/01_restore_qt4_compat.patch =================================================================== --- packages/trunk/pokerth/debian/patches/01_restore_qt4_compat.patch (rev 0) +++ packages/trunk/pokerth/debian/patches/01_restore_qt4_compat.patch 2013-12-31 15:26:26 UTC (rev 14742) @@ -0,0 +1,27 @@ +diff -rup PokerTH-1.1-src.orig/src/gui/qt/chattools/chattools.h PokerTH-1.1-src/src/gui/qt/chattools/chattools.h +--- PokerTH-1.1-src.orig/src/gui/qt/chattools/chattools.h 2013-12-22 17:58:01.952816236 +0100 ++++ PokerTH-1.1-src/src/gui/qt/chattools/chattools.h 2013-12-23 00:26:16.359116352 +0100 +@@ -33,7 +33,9 @@ + + #include <string> + #include <QtCore> ++#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0)) + #include <QtWidgets> ++#endif + #include <QtGui> + #include <boost/shared_ptr.hpp> + +diff -rup PokerTH-1.1-src.orig/src/pokerth.cpp PokerTH-1.1-src/src/pokerth.cpp +--- PokerTH-1.1-src.orig/src/pokerth.cpp 2013-12-22 17:58:02.001816231 +0100 ++++ PokerTH-1.1-src/src/pokerth.cpp 2013-12-23 00:26:16.358116399 +0100 +@@ -34,7 +34,9 @@ + #include <ctime> + #include <qapplication.h> + ++#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0)) + #include <QtWidgets> ++#endif + #include <QtGui> + #include <QtCore> + + Modified: packages/trunk/pokerth/debian/patches/series =================================================================== --- packages/trunk/pokerth/debian/patches/series 2013-12-29 11:42:32 UTC (rev 14741) +++ packages/trunk/pokerth/debian/patches/series 2013-12-31 15:26:26 UTC (rev 14742) @@ -1 +1,2 @@ +01_restore_qt4_compat.patch 03_use_--as-needed.patch _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

