haskell/haskell-dataenc: Fixed build with ghc-7.10.3.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2016-05-07 10:45:09 +01:00 committed by Willy Sudiarto Raharjo
parent a5e7d2861e
commit 37ca4ec258

View file

@ -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 \