aboutsummaryrefslogtreecommitdiff
path: root/desktop/subtle/subtle.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-09-12 14:11:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitd1049a9ef436ce38b86b336dc8c30830540d25db (patch)
treea637ee21ebf9df0e9e630f1ebcf249df4dae2ead /desktop/subtle/subtle.SlackBuild
parentcad35e42303ff7e812cf59889e37023fa7237294 (diff)
desktop/subtle: Patched for ruby-2.2.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/subtle/subtle.SlackBuild')
-rw-r--r--desktop/subtle/subtle.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/subtle/subtle.SlackBuild b/desktop/subtle/subtle.SlackBuild
index ee21eaf0378c..173cf7925c5f 100644
--- a/desktop/subtle/subtle.SlackBuild
+++ b/desktop/subtle/subtle.SlackBuild
@@ -58,6 +58,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fixes to build against ruby2:
+patch -p1 < $CWD/changeset_r3240.diff
+patch -p1 < $CWD/changeset_r3242.diff
+patch -p1 < $CWD/changeset_r3244.diff
+
rake install manprefix=/usr/man destdir=$PKG
mv $PKG/etc/xdg/subtle/subtle.rb $PKG/etc/xdg/subtle/subtle.rb.new