From f8c01e0cd54720d389e71820bfbedc2628903162 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Fri, 7 Jan 2022 13:49:03 +1300 Subject: [PATCH] haskell/haskell-stringsearch: Fix building on -current. Signed-off-by: Andrew Clemons --- .../haskell-stringsearch/haskell-stringsearch.SlackBuild | 3 ++- haskell/haskell-stringsearch/haskell-stringsearch.info | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild b/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild index 84aedb8b2d..3ef081b5fe 100644 --- a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild +++ b/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-stringsearch VERSION=${VERSION:-0.3.6.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/1.cabal > $SRCNAM.cabal chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/haskell/haskell-stringsearch/haskell-stringsearch.info b/haskell/haskell-stringsearch/haskell-stringsearch.info index 986b39f3f6..d817065f17 100644 --- a/haskell/haskell-stringsearch/haskell-stringsearch.info +++ b/haskell/haskell-stringsearch/haskell-stringsearch.info @@ -1,8 +1,10 @@ PRGNAM="haskell-stringsearch" VERSION="0.3.6.6" HOMEPAGE="https://hackage.haskell.org/package/stringsearch" -DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz" -MD5SUM="b7455a2d8462a55631e261e2981e1bce" +DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz \ + https://hackage.haskell.org/package/stringsearch-0.3.6.6/revision/1.cabal" +MD5SUM="b7455a2d8462a55631e261e2981e1bce \ + 83b8823048c13f6052c0df4f73e4f3de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc"