File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchzip ,
5+ fetchpatch ,
56 cmake ,
67 pkg-config ,
78 SDL2 ,
@@ -71,6 +72,16 @@ stdenv.mkDerivation rec {
7172 hash = "sha256-YT4IE/rJ9pnpeMWKbOra6AbSUwW19RwOKlXkxwoMeKY=" ;
7273 } ;
7374
75+ patches = [
76+ # Fix build against icu-76:
77+ # https://github.com/OpenTTD/OpenTTD/pull/13048
78+ ( fetchpatch {
79+ name = "icu-75.patch" ;
80+ url = "https://github.com/OpenTTD/OpenTTD/commit/14fac2ad37bfb9cec56b4f9169d864f6f1c7b96e.patch" ;
81+ hash = "sha256-L35ybnTKPO+HVP/7ZYzWM2mA+s1RAywhofSuzpy/6sc=" ;
82+ } )
83+ ] ;
84+
7485 nativeBuildInputs = [
7586 cmake
7687 pkg-config
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ openttd.overrideAttrs (oldAttrs: rec {
1010 rev = "jgrpp-${ version } " ;
1111 hash = "sha256-aEmuwWNxqjuLmiWMrqwTUtCwdwDMA00eQspCHntxEXw=" ;
1212 } ;
13+ patches = [ ] ;
1314
1415 buildInputs = oldAttrs . buildInputs ++ [ zstd ] ;
1516
You can’t perform that action at this time.
0 commit comments