[pokerth] Amend pokerth-1.1.1-system-qtsingleapp.patch to fix compilation issue

Ryan Rix rrix at fedoraproject.org
Sat Jun 14 09:35:52 UTC 2014


commit 2c4c9f0c51ca135e867b28100489a98dbe934ad7
Author: Ryan Rix <ry at n.rix.si>
Date:   Sat Jun 14 09:34:21 2014 +0000

    Amend pokerth-1.1.1-system-qtsingleapp.patch to fix compilation issue

 pokerth-1.1.1-system-qtsingleapp.patch |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/pokerth-1.1.1-system-qtsingleapp.patch b/pokerth-1.1.1-system-qtsingleapp.patch
index 243a92c..f852014 100644
--- a/pokerth-1.1.1-system-qtsingleapp.patch
+++ b/pokerth-1.1.1-system-qtsingleapp.patch
@@ -18,7 +18,7 @@ diff -Nur PokerTH-1.1.1-src/pokerth_game.pro PokerTH-1.1.1-src-fedora/pokerth_ga
  UI_DIR = uics
 diff -Nur PokerTH-1.1.1-src/src/pokerth.cpp PokerTH-1.1.1-src-fedora/src/pokerth.cpp
 --- PokerTH-1.1.1-src/src/pokerth.cpp	2014-01-10 21:18:20.926643000 +0000
-+++ PokerTH-1.1.1-src-fedora/src/pokerth.cpp	2014-06-14 05:13:35.369215381 +0000
++++ PokerTH-1.1.1-src-fedora/src/pokerth.cpp	2014-06-14 06:24:45.446516672 +0000
 @@ -55,7 +55,7 @@
  #include "startsplash.h"
  #include "game_defs.h"
@@ -28,3 +28,12 @@ diff -Nur PokerTH-1.1.1-src/src/pokerth.cpp PokerTH-1.1.1-src-fedora/src/pokerth
  
  #ifdef _MSC_VER
  #ifdef _DEBUG
+@@ -103,7 +103,7 @@
+ 	QApplication a(argc, argv);
+ 	a.setApplicationName("PokerTH");
+ #else
+-	SharedTools::QtSingleApplication a( "PokerTH", argc, argv );
++	QtSingleApplication a( "PokerTH", argc, argv );
+ 	if (a.sendMessage("Wake up!")) {
+ 		return 0;
+ 	}


More information about the scm-commits mailing list