summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/pokerth/README2
-rw-r--r--games/pokerth/gcc47.patch11
-rw-r--r--games/pokerth/pokerth.SlackBuild5
-rw-r--r--games/pokerth/pokerth.info8
4 files changed, 19 insertions, 7 deletions
diff --git a/games/pokerth/README b/games/pokerth/README
index 5668620e8e..6d8a0a153a 100644
--- a/games/pokerth/README
+++ b/games/pokerth/README
@@ -2,5 +2,3 @@ PokerTH is a poker game written in C++/QT4. You can play the popular
"Texas Hold'em" poker variant against up to six computer-opponents or
play network games with people all over the world. This package will
include the PokerTH server.
-
-This requires libgsasl.
diff --git a/games/pokerth/gcc47.patch b/games/pokerth/gcc47.patch
new file mode 100644
index 0000000000..c303688982
--- /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 {
diff --git a/games/pokerth/pokerth.SlackBuild b/games/pokerth/pokerth.SlackBuild
index da7fb60771..5cb3fddf32 100644
--- a/games/pokerth/pokerth.SlackBuild
+++ b/games/pokerth/pokerth.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=pokerth
SRCNAM=PokerTH
-VERSION=0.8.2
+VERSION=0.9.4
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,6 +67,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for gcc-4.7.x
+patch -p1 < $CWD/gcc47.patch
+
qmake pokerth.pro
# We'd need to sed the CFLAGS in, but it should be fine as is...
diff --git a/games/pokerth/pokerth.info b/games/pokerth/pokerth.info
index e46d6bee7e..89b0b20878 100644
--- a/games/pokerth/pokerth.info
+++ b/games/pokerth/pokerth.info
@@ -1,10 +1,10 @@
PRGNAM="pokerth"
-VERSION="0.8.2"
+VERSION="0.9.4"
HOMEPAGE="http://www.pokerth.net"
-DOWNLOAD="http://downloads.sourceforge.net/sourceforge/pokerth/PokerTH-0.8.2-src.tar.bz2"
-MD5SUM="bc9af0733d32c16e23fb9975e9aba100"
+DOWNLOAD="http://downloads.sourceforge.net/pokerth/PokerTH-0.9.4-src.tar.bz2"
+MD5SUM="afdc63e9a4e499fd70fc0eee4d8dc1a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgsasl"
+REQUIRES="libgsasl tinyxml libircclient"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"