diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild index 772b7fafcd..ce162659e7 100644 --- a/development/darcs/darcs.SlackBuild +++ b/development/darcs/darcs.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for darcs -# Copyright 2013 Mikko Värri, Finland +# Copyright 2015 Mikko Värri, Finland # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=darcs -VERSION=${VERSION:-2.8.4} +VERSION=${VERSION:-2.8.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Raise a couple of upper bounds until darcs 2.10 is out +sed -i -r \ + -e 's/(random\s+== 1)\.0\.\*/\1.1.*/' \ + -e 's/(terminfo == 0)\.3\.\*/\1.4.*/' \ + -e 's/(text\s+>= 0\.11\.0\.6 && < 1)\.2/\1.3/' \ + darcs.cabal + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ diff --git a/development/darcs/darcs.info b/development/darcs/darcs.info index bfb2f8e292..e243d8bb79 100644 --- a/development/darcs/darcs.info +++ b/development/darcs/darcs.info @@ -1,10 +1,10 @@ PRGNAM="darcs" -VERSION="2.8.4" +VERSION="2.8.5" HOMEPAGE="http://darcs.net/" -DOWNLOAD="http://hackage.haskell.org/packages/archive/darcs/2.8.4/darcs-2.8.4.tar.gz" -MD5SUM="7456b7957add1b04c49de1b72c137a77" +DOWNLOAD="http://hackage.haskell.org/packages/archive/darcs/2.8.5/darcs-2.8.5.tar.gz" +MD5SUM="b440e9be53100bf660279ad7c0debf77" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="haskell-extensible-exceptions haskell-vector haskell-random haskell-syb haskell-html haskell-tar haskell-text haskell-parsec haskell-hashed-storage haskell-haskeline haskell-network haskell-HTTP haskell-regex-compat" +REQUIRES="haskell-utf8-string haskell-extensible-exceptions haskell-regex-compat haskell-mtl haskell-parsec haskell-html haskell-hashed-storage haskell-vector haskell-tar haskell-text haskell-random haskell-HTTP haskell-network haskell-network-uri haskell-mmap haskell-zlib" MAINTAINER="Mikko Värri" EMAIL="vmj@linuxbox.fi"