From 0ead4c0ada70846ca5144c5ca6b62445cef6f705 Mon Sep 17 00:00:00 2001 From: toluschr Date: Thu, 16 Apr 2020 12:30:08 +0200 Subject: [PATCH] cutter: Patch for radare2-4.4.0 --- srcpkgs/cutter/patches/001-fix-radare2-4.4.0.patch | 11 +++++++++++ srcpkgs/cutter/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/cutter/patches/001-fix-radare2-4.4.0.patch diff --git a/srcpkgs/cutter/patches/001-fix-radare2-4.4.0.patch b/srcpkgs/cutter/patches/001-fix-radare2-4.4.0.patch new file mode 100644 index 00000000000..b1e852a0de5 --- /dev/null +++ b/srcpkgs/cutter/patches/001-fix-radare2-4.4.0.patch @@ -0,0 +1,11 @@ +--- src/core/Cutter.cpp ++++ src/core/Cutter.cpp +@@ -2437,7 +2437,7 @@ QList CutterCore::getAllFunctions() + function.nbbs = r_list_length (fcn->bbs); + function.calltype = fcn->cc ? QString::fromUtf8(fcn->cc) : QString(); + function.name = fcn->name ? QString::fromUtf8(fcn->name) : QString(); +- function.edges = r_anal_fcn_count_edges(fcn, nullptr); ++ function.edges = r_anal_function_count_edges(fcn, nullptr); + function.stackframe = fcn->maxstack; + funcList.append(function); + } diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template index 13aeda817f0..ddc0a49580e 100644 --- a/srcpkgs/cutter/template +++ b/srcpkgs/cutter/template @@ -1,7 +1,7 @@ # Template file for 'cutter' pkgname=cutter version=1.10.2 -revision=1 +revision=2 build_wrksrc=src build_style=qmake hostmakedepends="pkg-config qt5-declarative-devel qt5-location-devel