summaryrefslogtreecommitdiff
path: root/academic/sword/sword.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-04 02:55:49 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-05 20:14:41 -0500
commit6a911c17ecd5b9d416c4ba44bb6fdfa9022a3ab7 (patch)
treebb4b737889dec29a152b9fa7d67d683f8717de69 /academic/sword/sword.SlackBuild
parent403c023c6aa09386da6a1b84e5620244080bbb12 (diff)
downloadslackbuilds-6a911c17ecd5b9d416c4ba44bb6fdfa9022a3ab7.tar.gz
academic/sword: Patched to build on Slackware 14.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 \