openbsd-ports/devel/dex2jar/patches/patch-d2j_invoke_sh
rpointel 8dd58e295f import dex2jar. dex2jar contains following compment
* dex-reader is designed to read the Dalvik Executable (.dex/.odex) format. It
has a light weight API similar with ASM.
* dex-translator is designed to do the convert job. It reads the dex instruction
to dex-ir format, after some optimize, convert to ASM format.
* dex-ir used by dex-translator, is designed to represent the dex instruction
dex-tools tools to work with .class files.
* d2j-smali disassemble dex to smali files and assemble dex from smali files.
different implementation to smali/baksmali, same syntax, but we support escape
in type desc "Lcom/dex2jar\t\u1234;"
* dex-writer write dex same way as dex-reader.

ok benoit@.
2016-06-15 19:49:40 +00:00

12 lines
367 B
Plaintext

$OpenBSD: patch-d2j_invoke_sh,v 1.1.1.1 2016/06/15 19:49:40 rpointel Exp $
--- d2j_invoke.sh.orig Mon Oct 27 17:32:20 2014
+++ d2j_invoke.sh Thu Jun 9 21:21:17 2016
@@ -45,4 +45,6 @@ else
done
fi
-java -Xms512m -Xmx1024m -classpath "${_classpath}" "$@"
+JAVA_CMD=$(javaPathHelper -c dex2jar)
+
+${JAVA_CMD} -Xms512m -Xmx1024m -classpath "${_classpath}" "$@"