summary refs log tree commit diff
path: root/pkgs/applications/video/aegisub/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-06-05 23:16:23 +0200
committerVladimír Čunát <v@cunat.cz>2019-06-05 23:16:23 +0200
commit290695dd2878d3961af39da087ff5a41496d8dac (patch)
tree4903a84629b0d4040afb5f9a8553003821804092 /pkgs/applications/video/aegisub/default.nix
parent0d29488705189aa12cb0fa459c2a04dec9c47031 (diff)
downloadnixpkgs-290695dd2878d3961af39da087ff5a41496d8dac.tar
nixpkgs-290695dd2878d3961af39da087ff5a41496d8dac.tar.gz
nixpkgs-290695dd2878d3961af39da087ff5a41496d8dac.tar.bz2
nixpkgs-290695dd2878d3961af39da087ff5a41496d8dac.tar.lz
nixpkgs-290695dd2878d3961af39da087ff5a41496d8dac.tar.xz
nixpkgs-290695dd2878d3961af39da087ff5a41496d8dac.tar.zst
nixpkgs-290695dd2878d3961af39da087ff5a41496d8dac.zip
treewide icu61+ fixes
It's exactly the same issue as in the parent commit.
/cc #60250 (2fe63c8).
Diffstat (limited to 'pkgs/applications/video/aegisub/default.nix')
-rw-r--r--pkgs/applications/video/aegisub/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/video/aegisub/default.nix b/pkgs/applications/video/aegisub/default.nix
index a613ad1c584..3df61682480 100644
--- a/pkgs/applications/video/aegisub/default.nix
+++ b/pkgs/applications/video/aegisub/default.nix
@@ -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 = [