summaryrefslogtreecommitdiff
path: root/academic/sword/sword.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/sword/sword.SlackBuild')
-rw-r--r--academic/sword/sword.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/academic/sword/sword.SlackBuild b/academic/sword/sword.SlackBuild
index 150c9a5e76..133c912062 100644
--- a/academic/sword/sword.SlackBuild
+++ b/academic/sword/sword.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=sword
VERSION=1.6.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 -i $CWD/sword-no-curl-types.patch
+patch -p1 -i $CWD/sword-1.6.2-clucene2.patch
+patch -p0 -i $CWD/sword-gcc47-fix.patch
+patch -p0 -i $CWD/sword-curl-7.20.0-fix.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \