diff options
author | Thomas Sachau <tommy@gentoo.org> | 2010-01-09 12:50:45 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2010-01-09 12:50:45 +0000 |
commit | 57a06f667055a5b3b7127911e46393a182e58dc9 (patch) | |
tree | cc2451feb84359b41de4155aeb2790866ea74ba4 /dev-java/fec/files/fec-1.0.4-libfec8path.patch | |
parent | Version bump and removed old versions. (diff) | |
download | historical-57a06f667055a5b3b7127911e46393a182e58dc9.tar.gz historical-57a06f667055a5b3b7127911e46393a182e58dc9.tar.bz2 historical-57a06f667055a5b3b7127911e46393a182e58dc9.zip |
Version bump
Package-Manager: portage-2.2_rc61-r1/cvs/Linux x86_64
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 | 29 |
1 files changed, 29 insertions, 0 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 new file mode 100644 index 000000000000..503db7c837eb --- /dev/null +++ b/dev-java/fec/files/fec-1.0.4-libfec8path.patch @@ -0,0 +1,29 @@ +--- src/com/onionnetworks/fec/Native8Code.java 2009-08-21 02:37:00.515004583 +0200 ++++ src/com/onionnetworks/fec/Native8Code.java.new 2009-08-21 02:37:57.829254678 +0200 +@@ -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); ++ File path = new File("/usr/lib/libfec8.so"); ++ System.out.println("Loading FEC lib ["+path.getAbsolutePath()+']'); ++ System.load(path.getAbsolutePath()); + initFEC(); +- } else { +- System.out.println("Unable to find native library for fec8 for platform "+NativeDeployer.OS_ARCH); +- System.out.println(path); +- } + } + + public Native8Code(int k, int n) { |