summaryrefslogtreecommitdiff
path: root/development/xvile/xvile.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-17 08:15:14 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-18 08:03:05 +0100
commit0628bbc15b7d8b277d14f26e6182f9ed523d8be4 (patch)
treeaf2dd9bfa09b5560047f257208501ef6602aa546 /development/xvile/xvile.SlackBuild
parentd0f8fdccb64e0f62c4e54a0e1bb1e2e37d520b8b (diff)
downloadslackbuilds-0628bbc15b7d8b277d14f26e6182f9ed523d8be4.tar.gz
development/xvile: Updated for version 9.8k.
Added a patch from Gentoo Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/xvile/xvile.SlackBuild')
-rw-r--r--development/xvile/xvile.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/development/xvile/xvile.SlackBuild b/development/xvile/xvile.SlackBuild
index 7eb008b2ed..7f10be19c1 100644
--- a/development/xvile/xvile.SlackBuild
+++ b/development/xvile/xvile.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xvile
-VERSION=${VERSION:-9.8j}
+VERSION=${VERSION:-9.8k}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,7 +68,14 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tgz
cd $SRCNAM-$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" \
@@ -79,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--with-screen=X11 \
+ --with-app-defaults=/etc/X11/app-defaults \
--build=$ARCH-slackware-linux
make