r8541 - packages/trunk/pokerth/debian/patches

Evgeni Golov sargentd-guest at alioth.debian.org
Mon Dec 22 20:01:17 UTC 2008


Author: sargentd-guest
Date: 2008-12-22 20:01:17 +0000 (Mon, 22 Dec 2008)
New Revision: 8541

Removed:
   packages/trunk/pokerth/debian/patches/04_fix_no_logging.patch
Modified:
   packages/trunk/pokerth/debian/patches/series
Log:
really kill the patch


Deleted: packages/trunk/pokerth/debian/patches/04_fix_no_logging.patch
===================================================================
--- packages/trunk/pokerth/debian/patches/04_fix_no_logging.patch	2008-12-22 20:00:40 UTC (rev 8540)
+++ packages/trunk/pokerth/debian/patches/04_fix_no_logging.patch	2008-12-22 20:01:17 UTC (rev 8541)
@@ -1,39 +0,0 @@
-Author: Felix Hammer <f.hammer at web.de>
-Description: Upstream's patch for #488197
-Check if logging is enabled, before writing to the log.
---- pokerth-0.6.2.orig/src/gui/qt/gametable/log/log.cpp
-+++ pokerth-0.6.2/src/gui/qt/gametable/log/log.cpp
-@@ -1651,18 +1651,23 @@
- 
- void Log::flushLogAtHand() { 	
- 
--	if(myConfig->readConfigInt("LogInterval") < 2) {
--// 	write for log after every action and after every hand
--		writeLogFileStream(logFileStreamString);
--		logFileStreamString = "";
-+	if(myConfig->readConfigInt("LogOnOff")) {
-+		if(myConfig->readConfigInt("LogInterval") < 2) {
-+	// 	write for log after every action and after every hand
-+			writeLogFileStream(logFileStreamString);
-+			logFileStreamString = "";
-+		}
- 	}
- }
- 
--void Log::flushLogAtGame(int gameID) { 	
--//	write for log after every game
--	if(gameID > lastGameID) {
--		writeLogFileStream(logFileStreamString);
--		logFileStreamString = "";
--		lastGameID = gameID;
-+void Log::flushLogAtGame(int gameID) {
-+
-+	if(myConfig->readConfigInt("LogOnOff")) {
-+	//	write for log after every game
-+		if(gameID > lastGameID) {
-+			writeLogFileStream(logFileStreamString);
-+			logFileStreamString = "";
-+			lastGameID = gameID;
-+		}
- 	}
- }

Modified: packages/trunk/pokerth/debian/patches/series
===================================================================
--- packages/trunk/pokerth/debian/patches/series	2008-12-22 20:00:40 UTC (rev 8540)
+++ packages/trunk/pokerth/debian/patches/series	2008-12-22 20:01:17 UTC (rev 8541)
@@ -1,4 +1,3 @@
 01_clean_libpokerth.patch
 02_use_dejavu_fonts.patch
 #03_use_--as-needed.patch
-#04_fix_no_logging.patch




More information about the Pkg-games-commits mailing list