summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-01-25 23:50:06 +0000
committerThomas Sachau <tommy@gentoo.org>2009-01-25 23:50:06 +0000
commit2c54c3e7317b3813cfadb07de95a3de23f79904a (patch)
tree96da743580738c01bc82e3faa19d03c18eb7152c /dev-java/fec
parentQA: Cleanup (diff)
downloadgentoo-2-2c54c3e7317b3813cfadb07de95a3de23f79904a.tar.gz
gentoo-2-2c54c3e7317b3813cfadb07de95a3de23f79904a.tar.bz2
gentoo-2-2c54c3e7317b3813cfadb07de95a3de23f79904a.zip
Add missing patch
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/fec')
-rw-r--r--dev-java/fec/ChangeLog6
-rw-r--r--dev-java/fec/files/libfec8path.patch27
2 files changed, 32 insertions, 1 deletions
diff --git a/dev-java/fec/ChangeLog b/dev-java/fec/ChangeLog
index fee8132606f3..2dc445f6ca08 100644
--- a/dev-java/fec/ChangeLog
+++ b/dev-java/fec/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/fec
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.1 2009/01/24 18:27:35 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.2 2009/01/25 23:50:06 tommy Exp $
+
+ 25 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +files/libfec8path.patch:
+ Add missing patch
*fec-1.0.3 (24 Jan 2009)
diff --git a/dev-java/fec/files/libfec8path.patch b/dev-java/fec/files/libfec8path.patch
new file mode 100644
index 000000000000..928e3fec62d3
--- /dev/null
+++ b/dev-java/fec/files/libfec8path.patch
@@ -0,0 +1,27 @@
+--- 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) {