[arch-commits] Commit in sword/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Mar 27 21:56:53 UTC 2018


    Date: Tuesday, March 27, 2018 @ 21:56:52
  Author: foutrelis
Revision: 312958

Fix build with ICU 61

Modified:
  sword/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-27 21:54:15 UTC (rev 312957)
+++ PKGBUILD	2018-03-27 21:56:52 UTC (rev 312958)
@@ -27,7 +27,10 @@
 
 build() {
   cd "$srcdir/$pkgbase-$pkgver/build"
-  
+
+  # http://site.icu-project.org/download/61#TOC-Migration-Issues
+  CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
   #./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
   cmake .. -DLIBSWORD_LIBRARY_TYPE="Shared" -DSYSCONF_INSTALL_DIR='/etc' \
            -DSWORD_BUILD_TESTS="Yes" -DSWORD_BINDINGS="Python" -DCMAKE_INSTALL_PREFIX=/usr



More information about the arch-commits mailing list