1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

treewide icu61+ fixes

It's exactly the same issue as in the parent commit.
/cc #60250 (2fe63c8).
This commit is contained in:
Vladimír Čunát 2019-06-05 23:16:23 +02:00
parent 0d29488705
commit 290695dd28
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
3 changed files with 9 additions and 0 deletions

View file

@ -48,6 +48,9 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "bindnow" "relro" ];
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
# this is fixed upstream though not yet in an officially released version,
# should be fine remove on next release (if one ever happens)
NIX_LDFLAGS = [

View file

@ -16,6 +16,9 @@ stdenv.mkDerivation {
buildInputs = [ automake autoconf bzip2 libtool autoconf-archive libtar libxml2 icu languageMachines.ticcutils ];
preConfigure = "sh bootstrap.sh";
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
meta = with stdenv.lib; {
description = "A C++ API for FoLiA documents; an XML-based linguistic annotation format.";
homepage = https://proycon.github.io/folia/;

View file

@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
buildInputs = [ cmake fuse openssl zlib bzip2 libxml2 icu ];
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
meta = {
homepage = http://www.darlinghq.org/;
description = "Darling lets you open macOS dmgs on Linux";