Skip to content

Commit

Permalink
radare2: 1.6.0 -> 2.0.0 (#30274)
Browse files Browse the repository at this point in the history
* radare2: 1.6.0 -> 2.0.0

* radare2: remove hotpatch for upstream
  • Loading branch information
makefu authored and Mic92 committed Oct 11, 2017
1 parent 3a21ed5 commit 8315c40
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pkgs/development/tools/analysis/radare2/default.nix
Expand Up @@ -13,14 +13,14 @@ let
inherit (stdenv.lib) optional;
in
stdenv.mkDerivation rec {
version = "1.6.0";
version = "2.0.0";
name = "radare2-${version}";

src = fetchFromGitHub {
owner = "radare";
repo = "radare2";
rev = version;
sha256 = "0kb7y0b5kw2p1kxpzjgc8pnwdkqyzkijzp5d2a9zs2ira96668zd";
sha256 = "1ahai9x6jc15wjzdbdkri3rc88ark2i5s8nv2pxcp0wwldvawlzi";
};

postPatch = let
Expand All @@ -34,10 +34,6 @@ stdenv.mkDerivation rec {
substituteInPlace shlr/Makefile --replace CS_RELEASE=0 CS_RELEASE=1
cp ${capstone} shlr/capstone-${cs_ver}.tar.gz
# make compiler happy (fixed in upstream 2017-08-11)
substituteInPlace libr/asm/arch/hexagon/gnu/hexagon-dis.c --replace \
'(*info->fprintf_func) (info->stream, errmsg);' \
'(*info->fprintf_func) (info->stream, "%s", errmsg);'
'';

nativeBuildInputs = [ pkgconfig ];
Expand Down

0 comments on commit 8315c40

Please sign in to comment.