summaryrefslogtreecommitdiff
path: root/desktop/qtwitter/qtwitter.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2012-09-10 08:24:50 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 16:37:34 -0500
commite5843ee724df94ac8155e75a79f0b8f43e48772d (patch)
treec8fc0adb568750a6a10c66da9e81784de7e534a8 /desktop/qtwitter/qtwitter.SlackBuild
parentec0890935d5c79dc772d5bc43137a94d192ba16c (diff)
downloadslackbuilds-e5843ee724df94ac8155e75a79f0b8f43e48772d.tar.gz
desktop/qtwitter: Add patches from upstream.
Signed-off-by: Mikko Värri <vmj@linuxbox.fi> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/qtwitter/qtwitter.SlackBuild')
-rw-r--r--desktop/qtwitter/qtwitter.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/qtwitter/qtwitter.SlackBuild b/desktop/qtwitter/qtwitter.SlackBuild
index 8fc95f95a4..4738d3a0db 100644
--- a/desktop/qtwitter/qtwitter.SlackBuild
+++ b/desktop/qtwitter/qtwitter.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=qtwitter
VERSION=${VERSION:-0.10.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -76,6 +76,11 @@ find . \
patch -p0 <$CWD/twitterapi_twitterapi.pro.patch
patch -p0 <$CWD/qtwitter-app_qtwitter-app.pro.patch
+# Following three patches are from the qtwitter git repository.
+patch -p0 <$CWD/fix_insecure_runpaths.patch
+patch -p0 <$CWD/fix_underlinking.patch
+patch -p0 <$CWD/fix_qtwitter_desktop_to_pass_validation.patch
+
qmake -unix PREFIX=/usr DOCDIR=/usr/doc/$PRGNAM-$VERSION \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS" \