sword: fixup build with icu >= 61

/cc #60250 (2fe63c8).
This commit is contained in:
Vladimír Čunát 2019-06-05 22:54:02 +02:00
parent 576af17187
commit 0d29488705
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -24,7 +24,12 @@ stdenv.mkDerivation rec {
})
];
configureFlags = [ "--without-conf" "--enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable" ];
configureFlags = [ "--without-conf" "--enable-tests=no" ];
CXXFLAGS = [
"-Wno-unused-but-set-variable"
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
"-DU_USING_ICU_NAMESPACE=1"
];
meta = with stdenv.lib; {
description = "A software framework that allows research manipulation of Biblical texts";