summaryrefslogtreecommitdiffstats
path: root/games/pokerth/pokerth.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2017-11-04 11:53:26 +0100
committer Matteo Bernardini2017-11-04 11:53:26 +0100
commit4474a706ee05db9ed1466ed16efa5ce87efdf21a (patch)
tree08b0e15955895ef2aec8296a7e714543b62f7584 /games/pokerth/pokerth.SlackBuild
parentf8100ac287c48c52491e83cec473363ceafab6a1 (diff)
downloadold.slackbuilds-4474a706ee05db9ed1466ed16efa5ce87efdf21a.tar.gz
20171104.1 global branch merge.current-20171104.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/pokerth/pokerth.SlackBuild')
-rw-r--r--games/pokerth/pokerth.SlackBuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/pokerth/pokerth.SlackBuild b/games/pokerth/pokerth.SlackBuild
index 5412cb9fbe..249f2487e8 100644
--- a/games/pokerth/pokerth.SlackBuild
+++ b/games/pokerth/pokerth.SlackBuild
@@ -77,6 +77,16 @@ 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
+
+# Another fix for boost - thanks to Gentoo
+patch -p1 < $CWD/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
+
qmake pokerth.pro
make #CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"