aboutsummaryrefslogtreecommitdiff
path: root/development/darcs/darcs.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2015-02-24 22:27:52 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-04 07:46:55 +0700
commitb0caac93ec965b46b63b89b09ab99ddf17bf9167 (patch)
tree84bd0ab8318ace62da22f669d5697bcb771203ec /development/darcs/darcs.SlackBuild
parent0447c108d01a2fb26f88e8f9c08802476e5fef5b (diff)
development/darcs: Updated for version 2.8.5.
Signed-off-by: Mikko Värri <vmj@linuxbox.fi> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/darcs/darcs.SlackBuild')
-rw-r--r--development/darcs/darcs.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild
index 772b7fafcde7..ce162659e799 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 \