Skip to content

Commit 068bc04

Browse files
yetris: fix compilation on aarch64-linux (#412563)
2 parents 08bce36 + 73f7ebf commit 068bc04

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/by-name/ye/yetris/package.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ stdenv.mkDerivation (finalAttrs: {
1717
hash = "sha256-k9CXXIaDk1eAtRBEj0VCfE+D1FtmIDX3niubAdrfjqw=";
1818
};
1919

20+
postPatch = ''
21+
substituteInPlace src/Game/Entities/RotationSystemSRS.cpp \
22+
--replace-fail 'char' 'signed char'
23+
substituteInPlace src/Game/Entities/PieceDefinitions.cpp \
24+
--replace-fail 'char' 'signed char'
25+
substituteInPlace src/Game/Entities/PieceDefinitions.hpp \
26+
--replace-fail 'char' 'signed char'
27+
'';
28+
2029
buildInputs = [
2130
ncurses
2231
];

0 commit comments

Comments
 (0)