summaryrefslogtreecommitdiffstats
path: root/games/pokerth/pokerth.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pokerth/pokerth.SlackBuild')
-rw-r--r--games/pokerth/pokerth.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/pokerth/pokerth.SlackBuild b/games/pokerth/pokerth.SlackBuild
index 5412cb9fbe..dff4115966 100644
--- a/games/pokerth/pokerth.SlackBuild
+++ b/games/pokerth/pokerth.SlackBuild
@@ -77,6 +77,13 @@ find -L . \
# Thanks ponce.
sed -i "s|libircclient/||" src/net/common/ircthread.cpp
+# Fix for the newest boost
+patch -p1 < $CWD/std-ifstream-and-std-ofstream.patch
+
+# Fix building with gcc-6.x - thanks Archlinux folks!
+patch -p1 < $CWD/pokerth-gcc6.patch
+patch -p1 < $CWD/pokerth-c++11.patch
+
qmake pokerth.pro
make #CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"