radare2: update from 4.5.1 to 5.4.0 (#6149)

This commit is contained in:
pancake
2021-08-26 09:48:36 +02:00
committed by GitHub
parent a7f9e8bed2
commit e80c863bee
2 changed files with 4 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
From 6f963691d4cb1ac0458212160ceebda35944e7c3 Mon Sep 17 00:00:00 2001
From: devnexen <devnexen@gmail.com>
Date: Mon, 23 Nov 2020 09:28:36 +0000
Subject: Merge upstream patch for using proper team_id/pid_t
diff --git a/libr/util/sys.c b/libr/util/sys.c
index f2dc348..6dbdc67 100644
--- a/libr/util/sys.c
+++ b/libr/util/sys.c
@@ -1212,7 +1212,7 @@ R_API char *r_sys_pid_to_path(int pid) {
int32_t group = 0;
image_info ii;
- while (get_next_image_info (0, &group, &ii) == B_OK) {
+ while (get_next_image_info ((team_id)pid, &group, &ii) == B_OK) {
if (ii.type == B_APP_IMAGE) {
break;
}
--
2.28.0

View File

@@ -4,7 +4,7 @@ able to open disk files, analyzing binaries in several common and less common \
formats, disassemble code for several CPU architectures, debug programs, \
attach to remote GDB servers, and much more."
HOMEPAGE="https://radare.org/"
COPYRIGHT="2007-2020 pancake
COPYRIGHT="2007-2021 pancake
2007-2015 Skia
2012-2015 pof
2008-2015 nibble
@@ -96,9 +96,9 @@ COPYRIGHT="2007-2020 pancake
2010-2016 Sebastian Reichel"
LICENSE="GNU GPL v3
GNU LGPL v3"
REVISION="3"
REVISION="1"
SOURCE_URI="https://github.com/radare/radare2/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="4e85b35987bd2ca5881ad9585970b970fe7374814bd383bd1cd62e961a0c228b"
CHECKSUM_SHA256="21ddae80a18d5ceef4bcd3a7cae1ba09d14b510d68ac9134681e1e9967123b23"
PATCHES="radare2-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86_64"
@@ -232,6 +232,7 @@ defineDebugInfoPackage radare2$secondaryArchSuffix \
"$commandBinDir"/rahash2 \
"$commandBinDir"/rarun2 \
"$commandBinDir"/rasm2 \
"$commandBinDir"/ravc2\
"$commandBinDir"/rax2 \
"$libDir"/libr_anal.so.$libVersion \
"$libDir"/libr_asm.so.$libVersion \