From 0befe1a9c0f3d1434c152e8ab77d7a6c49b57a9d Mon Sep 17 00:00:00 2001 From: Tim Dickson Date: Fri, 27 Apr 2018 01:22:08 +0700 Subject: academic/sword: Fix for newer icu4c. Signed-off-by: Willy Sudiarto Raharjo --- academic/sword/sword.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'academic') 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} \ -- cgit v1.2.3