mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-java/fec: Clean up old.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
--- src/com/onionnetworks/fec/Native8Code.java 2002-09-30 20:19:24.000000000 +0200
|
||||
+++ src/com/onionnetworks/fec/Native8Code.java.new 2008-03-24 01:38:35.000000000 +0100
|
||||
@@ -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,13 +22,9 @@
|
||||
private int code;
|
||||
|
||||
static {
|
||||
- String path = NativeDeployer.getLibraryPath
|
||||
- (Native8Code.class.getClassLoader(),"fec8");
|
||||
- if (path != null) {
|
||||
- System.load(path);
|
||||
- } else {
|
||||
- System.out.println("Unable to find native library for fec8");
|
||||
- }
|
||||
+ File path = new File("/usr/lib/libfec8.so");
|
||||
+ System.out.println("Loading FEC lib ["+path.getAbsolutePath()+']');
|
||||
+ System.load(path.getAbsolutePath());
|
||||
}
|
||||
|
||||
public Native8Code(int k, int n) {
|
||||
Reference in New Issue
Block a user