haskell/haskell-deepseq-generics: Fix build with ghc 8.10.4.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-11 23:14:10 +13:00 committed by Willy Sudiarto Raharjo
parent 07e69f7ce6
commit d1e40f4b84
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 7 deletions

View File

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

View File

@ -1,8 +1,10 @@
PRGNAM="haskell-deepseq-generics"
VERSION="0.2.0.0"
HOMEPAGE="https://hackage.haskell.org/package/deepseq-generics"
DOWNLOAD="https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/deepseq-generics-0.2.0.0.tar.gz"
MD5SUM="7bb94923c52024f642c85f4dab9a9b79"
DOWNLOAD="https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/deepseq-generics-0.2.0.0.tar.gz \
https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/revision/7.cabal"
MD5SUM="7bb94923c52024f642c85f4dab9a9b79 \
3c8d30c9fc95e026c750a8880faddbdb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ghc"