radare2-bindings: r_core patch for 1.2.1, see upstream bug https://github.com/radare/radare2-bindings/issues/146

This commit is contained in:
blshkv 2017-02-20 10:59:51 +08:00
parent d9b5e0ecdc
commit 55a98c386c
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- vapi/r_core.vapi.orig 2017-02-09 17:41:59.000000000 +0800
+++ vapi/r_core.vapi 2017-02-20 10:35:38.395649333 +0800
@@ -160,7 +160,7 @@
public bool yank_paste(uint64 addr, int len);
public int visual(string input);
- public int visual_cmd(string arg);
+ public int visual_cmd(int ch);
public int serve(RIO.Desc fd);

View file

@ -40,7 +40,9 @@ src_prepare(){
epatch "${FILESDIR}/01_use_python_2.7.patch"
#https://github.com/radare/radare2-bindings/issues/145
sed -i "s| test -f |# test -f |g" Makefile || die
epatch "${FILESDIR}/${PV}-r_core.patch"
# sed -i "s| test -f |# test -f |g" Makefile || die
eapply_user
}