forked from pool/libbluray
27a92cb2af
- Added patch libbluray-jvm_dir.patch to set the correct path to java lib because variable JAVA_HOME on openSUSE is defined as '/usr/<LIB>/jvm/jre' by update-alternatives. OBS-URL: https://build.opensuse.org/request/show/265954 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=25
12 lines
484 B
Diff
12 lines
484 B
Diff
--- src/libbluray/bdj/bdj.c.orig 2014-09-01 14:06:01.000000000 +0200
|
|
+++ src/libbluray/bdj/bdj.c 2014-12-19 10:34:11.196480400 +0100
|
|
@@ -159,7 +159,7 @@
|
|
"/usr/lib/jvm/java-6-openjdk",
|
|
"/usr/lib/jvm/java-7-openjdk",
|
|
"/etc/java-config-2/current-system-vm"};
|
|
- static const char jvm_dir[] = "jre/lib/" JAVA_ARCH "/server";
|
|
+ static const char jvm_dir[] = "lib/" JAVA_ARCH "/server";
|
|
static const char jvm_lib[] = "libjvm";
|
|
# endif
|
|
#endif
|