From 464c2cc757ce22b526a1c0176d5a3288990834f7 Mon Sep 17 00:00:00 2001 From: toluschr Date: Thu, 16 Apr 2020 12:29:52 +0200 Subject: [PATCH 1/2] radare2: Update to 4.4.0 --- srcpkgs/radare2/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template index e81ec0f5179..a973677dec2 100644 --- a/srcpkgs/radare2/template +++ b/srcpkgs/radare2/template @@ -1,7 +1,7 @@ # Template file for 'radare2' # cutter needs to be bumped when radare2 is updated pkgname=radare2 -version=4.3.1 +version=4.4.0 revision=1 build_style=gnu-configure configure_args="--with-syscapstone" @@ -11,8 +11,8 @@ short_desc="Advanced command line debugger and hexadecimal editor" maintainer="Johannes " license="LGPL-3.0-only" homepage="http://www.radare.org" -distfiles="https://github.com/radare/radare2/archive/${version}.tar.gz" -checksum=4abcb9c9dff24eab44d64d392e115ae774ab1ad90d04f2c983d96d7d7f9476aa +distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz" +checksum=401ab89f39f7e70e03336f6890dc4fdf52dae4f61201e4cd8a1fbe5a4b9eb451 case "$XBPS_TARGET_MACHINE" in mips*) CFLAGS="-Os";; From 47c2318f749212a60006335fffac6f91247f3db8 Mon Sep 17 00:00:00 2001 From: toluschr Date: Thu, 16 Apr 2020 12:30:08 +0200 Subject: [PATCH 2/2] 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