aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-lz4/0002-dont-bundle-natives.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-17 17:58:35 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-17 17:58:35 +0200
commita99142d7b515b13c288eb9cfae34f0c899f4c04f (patch)
tree0b2fdec1638684d887aac03c4bc75895b1d2e51a /community/java-lz4/0002-dont-bundle-natives.patch
parent87ca2c504aec78f2b93300be70eb3e3953cf4591 (diff)
downloadaports-a99142d7b515b13c288eb9cfae34f0c899f4c04f.tar.bz2
aports-a99142d7b515b13c288eb9cfae34f0c899f4c04f.tar.xz
community/java-lz4: move from testing
Diffstat (limited to 'community/java-lz4/0002-dont-bundle-natives.patch')
-rw-r--r--community/java-lz4/0002-dont-bundle-natives.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/java-lz4/0002-dont-bundle-natives.patch b/community/java-lz4/0002-dont-bundle-natives.patch
new file mode 100644
index 0000000000..ae90e29b1b
--- /dev/null
+++ b/community/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>
+