summaryrefslogtreecommitdiff
path: root/desktop/subtle/subtle.SlackBuild
diff options
context:
space:
mode:
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 ee21eaf037..173cf7925c 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