summaryrefslogtreecommitdiff
path: root/development/vile/vile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/vile/vile.SlackBuild')
-rw-r--r--development/vile/vile.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/development/vile/vile.SlackBuild b/development/vile/vile.SlackBuild
index 4368218ac1..ad028199a2 100644
--- a/development/vile/vile.SlackBuild
+++ b/development/vile/vile.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vile
-VERSION=${VERSION:-9.8j}
+VERSION=${VERSION:-9.8k}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,14 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Thanks Gentoo
+patch -p1 < $CWD/vile-9.8h-flex.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \