summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/sword/sword.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/academic/sword/sword.SlackBuild b/academic/sword/sword.SlackBuild
index 558cefa859..ffdff4fc6a 100644
--- a/academic/sword/sword.SlackBuild
+++ b/academic/sword/sword.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=sword
VERSION=${VERSION:-1.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -78,8 +78,9 @@ find -L . \
#sed -i 's/AM_INIT_AUTOMAKE$/AM_INIT_AUTOMAKE\(\[subdir\-objects\]\)/g' configure.ac
sed -i 's/ftemplate-depth-25/ftemplate-depth\=125/g' configure.ac
./autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+#add workaround for compiling with more recent (>=61) versions of icu4c
+CFLAGS="$SLKCFLAGS -DU_USING_ICU_NAMESPACE=1" \
+CXXFLAGS="$SLKCFLAGS -DU_USING_ICU_NAMESPACE=1" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \