diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-07 10:45:09 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-08 08:22:31 +0700 |
commit | 37ca4ec25859f0dcef4192230c7527ed07949d6d (patch) | |
tree | de7192390fb4579c76ec1e105d919bc33e68a1f6 | |
parent | a5e7d2861e49a58adc339955c7675000dbff7ddd (diff) |
haskell/haskell-dataenc: Fixed build with ghc-7.10.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r-- | haskell/haskell-dataenc/haskell-dataenc.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild index 0d888298adf72..5fc2100aa2be6 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 \ |