summaryrefslogtreecommitdiff
path: root/games/pokerth/pokerth.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-01-08 19:11:00 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:20:26 -0600
commitf523cc3bad64c8c609ef39ef262881a8df02e540 (patch)
tree29b5c1ceeab99b0f7e116f609a95f4e870eb9ca5 /games/pokerth/pokerth.SlackBuild
parentbb365f62ddd9967cebd3298671c18687968ff96c (diff)
downloadslackbuilds-f523cc3bad64c8c609ef39ef262881a8df02e540.tar.gz
games/pokerth: Fix looking for libircclient's headers.
Needed after the libircclient's update Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/pokerth/pokerth.SlackBuild')
-rw-r--r--games/pokerth/pokerth.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/pokerth/pokerth.SlackBuild b/games/pokerth/pokerth.SlackBuild
index 595fd5fff8..678c17e378 100644
--- a/games/pokerth/pokerth.SlackBuild
+++ b/games/pokerth/pokerth.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=pokerth
SRCNAM=PokerTH
VERSION=1.0.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,6 +66,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# The headers to which this file points have moved in the newer libircclient...
+sed -i "s|libircclient/||" src/net/common/ircthread.cpp
+
qmake pokerth.pro
# We'd need to sed the CFLAGS in, but it should be fine as is...