summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Köster <koesterreich@fastmail.fm>2013-03-20 17:23:04 +0100
committerFabian Köster <koesterreich@fastmail.fm>2013-03-20 17:23:04 +0100
commitd386a5ed19cefe215fcba76dec62f3560fe0d729 (patch)
tree04400fec653240c8dc8b376df3632278bc8960ff /app-office/hibiscus/files/2.4.2-hbci4java-so-filename.patch
parentChange amd64 to ~amd64 (diff)
downloadhibiscus-d386a5ed19cefe215fcba76dec62f3560fe0d729.tar.gz
hibiscus-d386a5ed19cefe215fcba76dec62f3560fe0d729.tar.bz2
hibiscus-d386a5ed19cefe215fcba76dec62f3560fe0d729.zip
Add ebuilds for jameica, hibiscus 2.4.x
Diffstat (limited to 'app-office/hibiscus/files/2.4.2-hbci4java-so-filename.patch')
-rw-r--r--app-office/hibiscus/files/2.4.2-hbci4java-so-filename.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-office/hibiscus/files/2.4.2-hbci4java-so-filename.patch b/app-office/hibiscus/files/2.4.2-hbci4java-so-filename.patch
new file mode 100644
index 0000000..8168548
--- /dev/null
+++ b/app-office/hibiscus/files/2.4.2-hbci4java-so-filename.patch
@@ -0,0 +1,38 @@
+Index: hibiscus/src/de/willuhn/jameica/hbci/passports/ddv/DDVConfigFactory.java
+===================================================================
+--- hibiscus.orig/src/de/willuhn/jameica/hbci/passports/ddv/DDVConfigFactory.java
++++ hibiscus/src/de/willuhn/jameica/hbci/passports/ddv/DDVConfigFactory.java
+@@ -530,9 +530,9 @@ public class DDVConfigFactory
+ */
+ private static File getJNILib() throws ApplicationException
+ {
+- String file = null;
++ String file = "libhbci4java-card-linux.so";
+
+- switch (Application.getPlatform().getOS())
++ /*switch (Application.getPlatform().getOS())
+ {
+ case Platform.OS_LINUX:
+ file = "libhbci4java-card-linux-32.so";
+@@ -561,12 +561,12 @@ public class DDVConfigFactory
+ case Platform.OS_FREEBSD_64:
+ file = "libhbci4java-card-freebsd-64.so";
+ break;
+- }
++ }*/
+
+ if (file == null)
+ throw new ApplicationException(i18n.tr("Hibiscus untersttzt leider keine Chipkartenleser fr Ihr Betriebssystem"));
+
+- File f = new File(de.willuhn.jameica.hbci.Settings.getLibPath(),file);
++ File f = new File("/usr/lib",file);
+ if (!f.exists())
+ throw new ApplicationException(i18n.tr("Treiber {0} nicht gefunden",f.getAbsolutePath()));
+
+@@ -612,4 +612,4 @@ public class DDVConfigFactory
+ * Revision 1.1 2010-09-07 15:28:05 willuhn
+ * @N BUGZILLA 391 - Kartenleser-Konfiguration komplett umgebaut. Damit lassen sich jetzt beliebig viele Kartenleser und Konfigurationen parellel einrichten
+ *
+- **********************************************************************/
+\ No newline at end of file
++ **********************************************************************/