summaryrefslogtreecommitdiffstats
path: root/development/darcs
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2022-02-09 20:04:01 +1300
committer Robby Workman <rworkman@slackbuilds.org>2022-02-26 21:56:48 -0600
commit8dfd18e740c0af99d54c7fb36b7f3a18c8c1ba9d (patch)
tree82c6315f8d038839e203e2025b144b67b7b1c615 /development/darcs
parent951b2e85a7841f74af92763c300668add34e9165 (diff)
downloadslackbuilds-8dfd18e740c0af99d54c7fb36b7f3a18c8c1ba9d.tar.gz
slackbuilds-8dfd18e740c0af99d54c7fb36b7f3a18c8c1ba9d.tar.xz
development/darcs: Updated for version 2.16.5.
This fixes the build on 15.0. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'development/darcs')
-rw-r--r--development/darcs/cabal.diff25
-rw-r--r--development/darcs/darcs.SlackBuild3
-rw-r--r--development/darcs/darcs.info8
3 files changed, 31 insertions, 5 deletions
diff --git a/development/darcs/cabal.diff b/development/darcs/cabal.diff
new file mode 100644
index 0000000000..f10449a5db
--- /dev/null
+++ b/development/darcs/cabal.diff
@@ -0,0 +1,25 @@
+diff -Naur darcs-2.16.5.orig/darcs.cabal darcs-2.16.5/darcs.cabal
+--- darcs-2.16.5.orig/darcs.cabal 2001-09-09 13:46:40.000000000 +1200
++++ darcs-2.16.5/darcs.cabal 2022-02-27 14:54:23.056244490 +1300
+@@ -436,10 +436,10 @@
+ vector >= 0.11 && < 0.13,
+ tar >= 0.5 && < 0.6,
+ data-ordlist == 0.4.*,
+- attoparsec >= 0.13.0.1 && < 0.14,
++ attoparsec >= 0.13.0.1 && < 0.15,
+ zip-archive >= 0.3 && < 0.5,
+ async >= 2.0.2 && < 2.3,
+- constraints >= 0.11 && < 0.13,
++ constraints >= 0.11 && < 0.14,
+ unix-compat >= 0.5 && < 0.6,
+ bytestring >= 0.10.6 && < 0.11,
+ old-time >= 1.1.0.3 && < 1.2,
+@@ -449,7 +449,7 @@
+ temporary >= 1.2.1 && < 1.4,
+ process >= 1.2.3.0 && < 1.7,
+ array >= 0.5.1.0 && < 0.6,
+- hashable >= 1.2.3.3 && < 1.4,
++ hashable >= 1.2.3.3 && < 1.5,
+ mmap >= 0.5.9 && < 0.6,
+ zlib >= 0.6.1.2 && < 0.7.0.0,
+ network-uri >= 2.6 && < 2.8,
diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild
index ca745fb975..f4814482ec 100644
--- a/development/darcs/darcs.SlackBuild
+++ b/development/darcs/darcs.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=darcs
-VERSION=${VERSION:-2.14.1}
+VERSION=${VERSION:-2.16.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,6 +75,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+patch -p1 -i $CWD/cabal.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/development/darcs/darcs.info b/development/darcs/darcs.info
index b9878840f6..3b68d00ff5 100644
--- a/development/darcs/darcs.info
+++ b/development/darcs/darcs.info
@@ -1,10 +1,10 @@
PRGNAM="darcs"
-VERSION="2.14.1"
+VERSION="2.16.5"
HOMEPAGE="https://darcs.net/"
-DOWNLOAD="https://hackage.haskell.org/package/darcs-2.14.1/darcs-2.14.1.tar.gz"
-MD5SUM="07a3fe1e5264d22bf1979ff0aa224085"
+DOWNLOAD="https://hackage.haskell.org/package/darcs-2.16.5/darcs-2.16.5.tar.gz"
+MD5SUM="7921981745f0ada00fa3862a00bea2b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-async haskell-attoparsec haskell-base16-bytestring haskell-cryptohash haskell-data-ordlist haskell-fgl haskell-graphviz haskell-hashable haskell-html haskell-HTTP haskell-mmap haskell-network haskell-network-uri haskell-old-time haskell-random haskell-regex-applicative haskell-regex-compat-tdfa haskell-sandi haskell-tar haskell-transformers-compat haskell-unix-compat haskell-utf8-string haskell-vector haskell-zip-archive haskell-zlib haskell-old-locale"
+REQUIRES="haskell-base16-bytestring haskell-data-ordlist haskell-graphviz haskell-html haskell-HTTP haskell-mmap haskell-old-time haskell-regex-applicative haskell-regex-compat-tdfa haskell-sandi haskell-tar haskell-unix-compat haskell-zip-archive haskell-constraints haskell-http-conduit"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"