summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2008-12-26 13:43:20 +0000
committerThomas Sachau <tommy@gentoo.org>2008-12-26 13:43:20 +0000
commit125c70fe6d88c27faf7e74e902134256d9b0fa59 (patch)
treebe62fdff36058db71ecf2948e709ccdc46ca1b8d /dev-java
parentdev-java/fec: Simplify ebuild (diff)
downloadsunrise-125c70fe6d88c27faf7e74e902134256d9b0fa59.tar.gz
sunrise-125c70fe6d88c27faf7e74e902134256d9b0fa59.tar.bz2
sunrise-125c70fe6d88c27faf7e74e902134256d9b0fa59.zip
dev-java/fec: Revert previous commit
svn path=/sunrise/; revision=7534
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/fec/ChangeLog3
-rw-r--r--dev-java/fec/Manifest5
-rw-r--r--dev-java/fec/fec-1.0.3.ebuild1
-rw-r--r--dev-java/fec/files/libfec8path.patch27
4 files changed, 31 insertions, 5 deletions
diff --git a/dev-java/fec/ChangeLog b/dev-java/fec/ChangeLog
index 9191153b7..6d0c5816d 100644
--- a/dev-java/fec/ChangeLog
+++ b/dev-java/fec/ChangeLog
@@ -2,9 +2,6 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
- 26 Dec 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> fec-1.0.3.ebuild:
- Simplify ebuild
-
18 Sep 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> fec-1.0.3.ebuild:
Add seperate bug number to Changelog + some minor changes
diff --git a/dev-java/fec/Manifest b/dev-java/fec/Manifest
index 7d6f05933..122dede57 100644
--- a/dev-java/fec/Manifest
+++ b/dev-java/fec/Manifest
@@ -1,5 +1,6 @@
AUX build.xml 1201 RMD160 cc7869bf41bfad969a4d55bece3df40aded31c89 SHA1 92e1fd88c98e90ae289c41fb61321c46257da80b SHA256 6974a99c1425ed239018c1036f4ef02fa8a3e42c509750ad8608d12f599ed534
+AUX libfec8path.patch 950 RMD160 0df6aad13aeea91116f7a03a8833e4e89bef9773 SHA1 c5936a8e9e738ea74ef3798932e8308b0a13ec31 SHA256 cedc6420e56ad4e707499fd40ae603887a253476c23368058945da64c2ce4081
DIST fec-1.0.3.zip 745195 RMD160 b1b302071c6eb90ce586e01da6c31de4a469acf5 SHA1 35de94815de1a132bc0aa991dcfffd5547226ff4 SHA256 2b23956854800b85a0d2eec11ab0940daec44e4c828b78782686efe8511a7d12
-EBUILD fec-1.0.3.ebuild 1112 RMD160 cd3179e54787db054af3a2ef7f4be93b2ee811fe SHA1 b6e1464fada91fab76d396595642af9f86901c61 SHA256 b88bbb50e432a3cfdfdb563f0aa8f0da9fbb7c8fd59a8adf4ee10e38e254d758
-MISC ChangeLog 778 RMD160 cdc72e05a5d5bc9f6a926293d466b7a6d436c68a SHA1 1399df1cb7890ab9a4131569db78cf7cc8ffdfe1 SHA256 8cfd13669cdc619cde238a7b7378aa62bacf9d48e26d7851eab75847b3e837e9
+EBUILD fec-1.0.3.ebuild 1152 RMD160 3ab87c4f105fc7892e2376f36f07a5101d3613d8 SHA1 e02b959de4a957e74ee98e384cff8f5c808a8a06 SHA256 fc77b73836d26cd921e9e98a860e1bf61e4222122aaade3b3f06fa1768755a99
+MISC ChangeLog 682 RMD160 865f42d53dc1e7068113852860ed1499ca782a16 SHA1 f72f465fb1a033d0b98bc4df38c806272faddf11 SHA256 80bbf0174831dca9957fadf32714e003eecd67ae0e9ea391f873c612739adb83
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-java/fec/fec-1.0.3.ebuild b/dev-java/fec/fec-1.0.3.ebuild
index 5a43ab60a..cd503c343 100644
--- a/dev-java/fec/fec-1.0.3.ebuild
+++ b/dev-java/fec/fec-1.0.3.ebuild
@@ -23,6 +23,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
cp "${FILESDIR}"/build.xml src/
+ epatch "${FILESDIR}"/libfec8path.patch
sed -i -e 's/build.compiler=jikes/#build.compiler=jikes/g' build.properties
cd lib
rm -rf *
diff --git a/dev-java/fec/files/libfec8path.patch b/dev-java/fec/files/libfec8path.patch
new file mode 100644
index 000000000..928e3fec6
--- /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) {