summaryrefslogtreecommitdiff
path: root/development/darcs/darcs.SlackBuild
diff options
context:
space:
mode:
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 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 \