diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-java/fec/files/fec-1.0.4-libfec8path.patch | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/fec/files/fec-1.0.4-libfec8path.patch')
-rw-r--r-- | dev-java/fec/files/fec-1.0.4-libfec8path.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-java/fec/files/fec-1.0.4-libfec8path.patch b/dev-java/fec/files/fec-1.0.4-libfec8path.patch deleted file mode 100644 index 58eb89efb730..000000000000 --- a/dev-java/fec/files/fec-1.0.4-libfec8path.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- src/com/onionnetworks/fec/Native8Code.java.orig 2015-10-18 14:27:06.160486000 +0000 -+++ src/com/onionnetworks/fec/Native8Code.java 2015-10-18 14:30:32.557486000 +0000 -@@ -3,6 +3,7 @@ - //import java.security.AccessController; - //import sun.security.action.*; - import com.onionnetworks.util.*; -+import java.io.File; - - /** - * This class is the frontend for the JNI wrapper for the C implementation of -@@ -21,15 +22,10 @@ - final private long code; - - static { -- String path = NativeDeployer.getLibraryPath -- (Native8Code.class.getClassLoader(),"fec8"); -- if (path != null) { -- System.load(path); -- initFEC(); -- } else { -- System.out.println("Unable to find native library for fec8 for platform "+NativeDeployer.OS_ARCH); -- System.out.println(path); -- } -+ File path = new File("/usr/lib/libfec8.so"); -+ System.out.println("Loading FEC lib ["+path.getAbsolutePath()+']'); -+ System.load(path.getAbsolutePath()); -+ initFEC(); - } - - public Native8Code(int k, int n) { |