summaryrefslogtreecommitdiff
path: root/haskell/haskell-dataenc
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-07 10:45:09 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-08 08:22:31 +0700
commit37ca4ec25859f0dcef4192230c7527ed07949d6d (patch)
treede7192390fb4579c76ec1e105d919bc33e68a1f6 /haskell/haskell-dataenc
parenta5e7d2861e49a58adc339955c7675000dbff7ddd (diff)
downloadslackbuilds-37ca4ec25859f0dcef4192230c7527ed07949d6d.tar.gz
haskell/haskell-dataenc: Fixed build with ghc-7.10.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'haskell/haskell-dataenc')
-rw-r--r--haskell/haskell-dataenc/haskell-dataenc.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
index 0d888298ad..5fc2100aa2 100644
--- a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
+++ b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
@@ -73,6 +73,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Taken from Arch's update-build-deps-ghc-7.10.1.patch
+sed -i -e 's/base >= 3.0.0 \&\& < 4.8/base >= 3.0.0 \&\& < 4.9/' dataenc.cabal
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \