summaryrefslogtreecommitdiff
path: root/academic/sword
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2018-04-27 01:22:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-27 01:22:08 +0700
commit0befe1a9c0f3d1434c152e8ab77d7a6c49b57a9d (patch)
tree24309e5afa220a33721d3eb37e49429d6c31ca6c /academic/sword
parentc3e98ba53aa0ca3b94bb5f19ff517e11641ccf38 (diff)
downloadslackbuilds-0befe1a9c0f3d1434c152e8ab77d7a6c49b57a9d.tar.gz
academic/sword: Fix for newer icu4c.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sword')
-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} \