From d1e40f4b8403bcbb7d44d994a5a49cdb628fec1b Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Fri, 11 Feb 2022 23:14:10 +1300 Subject: haskell/haskell-deepseq-generics: Fix build with ghc 8.10.4. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- .../haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild') diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild index 85dd2bf380..f2081efa8c 100644 --- a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild +++ b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-deepseq-generics VERSION=${VERSION:-0.2.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,16 +77,13 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/7.cabal > $SRCNAM.cabal 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 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Remove bogus upper version constraint on base -sed -i -E 's/(base *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $SRCNAM.cabal - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ -- cgit v1.2.3