diff options
author | aszlig <aszlig@nix.build> | 2021-03-16 02:36:21 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2021-04-14 00:50:30 +0200 |
commit | add4475d51caaf03aca07337e9ad5405ecf2a05c (patch) | |
tree | 0a75e69765539d986a13215d54be79f590791769 /pkgs/games/gog/the-longest-journey/default.nix | |
parent | 67e0540e443706624fff62605f6a632226e95fb4 (diff) |
factorio: Fix patcher to work with Radare2 5.x
Version 5.0.0 of Radare2 introduced a few changes in symbol naming, which causes our patcher to fail because it's unable to find the "/usr/share/factorio" string and the getSystemWriteData() method. The upstream change[1] in question for example now uses underscores for certain characters in the symbol/comment name, so for us to be backwards-compatible I added a check against the major version of Radare2 to determine whether we should add underscores when needed. [1]: https://github.com/radareorg/radare2/commit/aaa930ab261a31e58b1257df06db02481cd3bd55 Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/gog/the-longest-journey/default.nix')
0 files changed, 0 insertions, 0 deletions