aboutsummaryrefslogtreecommitdiff
path: root/games/pokerth/gcc47.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-28 20:38:14 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 16:23:42 -0500
commit4540cc5f7dc30cceeec489f584e6b70a3309fafe (patch)
treecadf351867cfae4d04f7136eb234f18735a863e6 /games/pokerth/gcc47.patch
parentdba403361728a1f5c11a6d833ebfb30259d39e9a (diff)
games/pokerth: Updated for version 0.9.4.
Includes a patch for gcc-4.7.x. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/pokerth/gcc47.patch')
-rw-r--r--games/pokerth/gcc47.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/pokerth/gcc47.patch b/games/pokerth/gcc47.patch
new file mode 100644
index 000000000000..c303688982f5
--- /dev/null
+++ b/games/pokerth/gcc47.patch
@@ -0,0 +1,11 @@
+diff -Naur PokerTH-0.9.3-src.orig/src/third_party/qtsingleapplication/qtlocalpeer.cpp PokerTH-0.9.3-src/src/third_party/qtsingleapplication/qtlocalpeer.cpp
+--- PokerTH-0.9.3-src.orig/src/third_party/qtsingleapplication/qtlocalpeer.cpp 2012-02-11 17:57:38.000000000 +0100
++++ PokerTH-0.9.3-src/src/third_party/qtsingleapplication/qtlocalpeer.cpp 2012-04-01 08:49:19.961007697 +0200
+@@ -57,6 +57,7 @@
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include <unistd.h>
+ #endif
+
+ namespace QtLP_Private {