summaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-08 10:51:43 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-11 03:17:21 +0700
commite69d3f0fe7fcf6bb8a3a66f0ef643249e84c07bf (patch)
treeaed626f050b770ddad50fd4de2289a4c96c40203 /haskell
parent09f1b1836a83b6f9ce22a74cade690de0e40d8d8 (diff)
downloadslackbuilds-e69d3f0fe7fcf6bb8a3a66f0ef643249e84c07bf.tar.gz
haskell/haskell-lcs: Fixed build with ghc-7.10.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-lcs/haskell-lcs.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/haskell/haskell-lcs/haskell-lcs.SlackBuild b/haskell/haskell-lcs/haskell-lcs.SlackBuild
index 050f7836e5..4b0d4132db 100644
--- a/haskell/haskell-lcs/haskell-lcs.SlackBuild
+++ b/haskell/haskell-lcs/haskell-lcs.SlackBuild
@@ -68,10 +68,13 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
+
+sed -i -e '1i{-# LANGUAGE FlexibleContexts #-}' \
+ Data/List/LCS/HuntSzymanski.hs
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \