aboutsummaryrefslogtreecommitdiffstats
path: root/testing/java-lz4/0002-dont-bundle-natives.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-04-07 20:57:56 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-08 13:21:38 +0000
commita4d862480c9a34d9249104679e87f163fe0ef5fd (patch)
tree7e97ce0796dff1d847b254f49fdc3490555d2c86 /testing/java-lz4/0002-dont-bundle-natives.patch
parentb15afbdabc604489c12a988ab2b49660d67ae27a (diff)
downloadaports-a4d862480c9a34d9249104679e87f163fe0ef5fd.tar.bz2
aports-a4d862480c9a34d9249104679e87f163fe0ef5fd.tar.xz
testing/java-lz4: new abuild
https://github.com/jpountz/lz4-java LZ4 compression for Java
Diffstat (limited to 'testing/java-lz4/0002-dont-bundle-natives.patch')
-rw-r--r--testing/java-lz4/0002-dont-bundle-natives.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/java-lz4/0002-dont-bundle-natives.patch b/testing/java-lz4/0002-dont-bundle-natives.patch
new file mode 100644
index 0000000000..ae90e29b1b
--- /dev/null
+++ b/testing/java-lz4/0002-dont-bundle-natives.patch
@@ -0,0 +1,23 @@
+From: Jakub Jirutka <jakub@jirutka.cz>
+Date: Thu, 7 Apr 2016 21:06:00 +0200
+Subject: [PATCH] Do not bundle native binaries into JAR
+
+The native library will be installed into /usr/lib as all other
+platform-specific libraries.
+---
+diff --git a/build.xml b/build.xml
+index 841582e..901b880 100644
+--- a/build.xml
++++ b/build.xml
+@@ -280,11 +280,9 @@
+ <mkdir dir="${dist}" />
+ <jar
+ destfile="${dist}/${ivy.module}.jar">
+- <fileset dir="${src}/resources" erroronmissingdir="false" />
+ <fileset dir="${build}/classes" />
+ <fileset dir="${build}/unsafe-classes" />
+ <fileset dir="${build}/generated-classes" />
+- <fileset dir="${build}/jni" erroronmissingdir="false" />
+ </jar>
+ </target>
+