From 88cfd70d7f15cc68ecefb17ed293ce8c241b0a7f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 8 May 2016 10:52:24 +0100 Subject: haskell/haskell-hashed-storage: Fixed build with ghc-7.10.3. Signed-off-by: David Spencer --- .../haskell-hashed-storage/haskell-hashed-storage.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild') diff --git a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild b/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild index 27a3856283..68ab25cdcc 100644 --- a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild +++ b/haskell/haskell-hashed-storage/haskell-hashed-storage.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 #-}' \ + Storage/Hashed/Monad.hs CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3-80-g2a13