diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2018-04-27 01:22:08 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-27 01:22:08 +0700 |
commit | 0befe1a9c0f3d1434c152e8ab77d7a6c49b57a9d (patch) | |
tree | 24309e5afa220a33721d3eb37e49429d6c31ca6c /academic | |
parent | c3e98ba53aa0ca3b94bb5f19ff517e11641ccf38 (diff) | |
download | slackbuilds-0befe1a9c0f3d1434c152e8ab77d7a6c49b57a9d.tar.gz |
academic/sword: Fix for newer icu4c.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/sword/sword.SlackBuild | 7 |
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} \ |