summaryrefslogtreecommitdiff
path: root/haskell/haskell-dataenc
diff options
context:
space:
mode:
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 \