about summary refs log tree commit diff
path: root/modules/module-list.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-03-16 02:36:21 +0100
committeraszlig <aszlig@nix.build>2021-04-14 00:50:30 +0200
commitadd4475d51caaf03aca07337e9ad5405ecf2a05c (patch)
tree0a75e69765539d986a13215d54be79f590791769 /modules/module-list.nix
parent67e0540e443706624fff62605f6a632226e95fb4 (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 'modules/module-list.nix')
0 files changed, 0 insertions, 0 deletions