radare2: Update from 2.9.0 to 3.0.0

This commit is contained in:
Fredrik Fornwall 2018-10-18 06:26:13 +02:00
parent 20e98f043c
commit a049c5fbea
3 changed files with 25 additions and 2 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://rada.re
TERMUX_PKG_DESCRIPTION="Advanced Hexadecimal Editor"
TERMUX_PKG_VERSION=2.9.0
TERMUX_PKG_SHA256=423ced52355daeaa12a6abbd6735f93c1eb19af728ecb359a6074f49abacc8a2
TERMUX_PKG_VERSION=3.0.0
TERMUX_PKG_SHA256=fb5db40c6ac143c7257c9f4044851c647eac8942d07421837335f9c520fed447
TERMUX_PKG_SRCURL=https://github.com/radare/radare2/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_BUILD_IN_SRC="yes"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-compiler=termux-host"

View File

@ -0,0 +1,11 @@
diff -u -r ../radare2-3.0.0/configure ./configure
--- ../radare2-3.0.0/configure 2018-10-15 22:29:51.000000000 +0000
+++ ./configure 2018-10-18 04:22:20.511836802 +0000
@@ -593,6 +593,7 @@
else
HAVE_PTRACE="1"
USE_PTRACE_WRAP="0"; fi; fi; fi
+USE_PTRACE_WRAP=0
SEDFLAGS=" -e '"
COUNT=0
for A in ${ENVWORDS} ; do

View File

@ -0,0 +1,12 @@
diff -u -r ../radare2-3.0.0/libr/include/r_io.h ./libr/include/r_io.h
--- ../radare2-3.0.0/libr/include/r_io.h 2018-10-15 22:29:51.000000000 +0000
+++ ./libr/include/r_io.h 2018-10-18 04:14:28.601218194 +0000
@@ -26,7 +26,7 @@
#include <sys/ptrace.h>
#endif
-#if defined(__APPLE__) || __sun || __FreeBSD__ || __OpenBSD__
+#if defined(__APPLE__) || __sun || __FreeBSD__ || __OpenBSD__ || defined(__ANDROID__)
typedef int r_ptrace_request_t;
typedef int r_ptrace_data_t;
#else