uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
24
pkgs/applications/backup/areca/fix-javah-bug.diff
Normal file
24
pkgs/applications/backup/areca/fix-javah-bug.diff
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
diff --git a/build.xml b/build.xml
|
||||
index 1ba08e0..9248b76 100644
|
||||
--- a/build.xml
|
||||
+++ b/build.xml
|
||||
@@ -56,10 +56,16 @@
|
||||
|
||||
<target name="compilejni" unless="isWindows">
|
||||
<description>JNI compilation task (builds libarecafs.so ... for unix-like operating systems only)</description>
|
||||
+
|
||||
<!--Generate the JNI header-->
|
||||
- <javah destdir="${root}/jni" force="yes" classpath="${root}/lib/areca.jar">
|
||||
- <class name="com.myJava.file.metadata.posix.jni.wrapper.FileAccessWrapper"/>
|
||||
- </javah>
|
||||
+ <exec executable="javah">
|
||||
+ <arg value="-d"/>
|
||||
+ <arg value="${root}/jni"/>
|
||||
+ <arg value="-force"/>
|
||||
+ <arg value="-classpath"/>
|
||||
+ <arg value="${root}/lib/areca.jar"/>
|
||||
+ <arg value="com.myJava.file.metadata.posix.jni.wrapper.FileAccessWrapper"/>
|
||||
+ </exec>
|
||||
|
||||
<!-- Compile the JNI code -->
|
||||
<exec dir="${root}/jni" executable="gcc">
|
||||
Loading…
Add table
Add a link
Reference in a new issue