summaryrefslogtreecommitdiff
path: root/dev-java/fec/files/fec-1.0.4-libfec8path.patch
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-18 16:23:18 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-18 16:35:19 +0000
commite2f2848d96675369f493348b9262d209796984ae (patch)
treec7f75ba3f51ad596a6a7b1fc3e87c04515308e86 /dev-java/fec/files/fec-1.0.4-libfec8path.patch
parent4bd363b63bc38c12c8b1b64826ab61a657cc4be3 (diff)
downloadgentoo-e2f2848d96675369f493348b9262d209796984ae.tar.gz
gentoo-e2f2848d96675369f493348b9262d209796984ae.tar.bz2
gentoo-e2f2848d96675369f493348b9262d209796984ae.zip
dev-java/fec: Remove dev-java/concurrent-util dependency. Fixes bug 546500.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
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.patch13
1 files changed, 7 insertions, 6 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
index 503db7c837eb..58eb89efb730 100644
--- a/dev-java/fec/files/fec-1.0.4-libfec8path.patch
+++ b/dev-java/fec/files/fec-1.0.4-libfec8path.patch
@@ -1,5 +1,5 @@
---- 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
+--- 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.*;
@@ -16,14 +16,15 @@
- (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();
+- 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) {