summaryrefslogtreecommitdiffstats
path: root/contrib/libbluray/P00-mingw-lib.patch
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2017-07-10 15:38:00 -0400
committerBradley Sepos <[email protected]>2017-08-18 17:08:30 -0400
commite69f470d35a6feb37b28cb5c68f4765f99575e9a (patch)
tree3012cc20d27a71656e9e194aff89a2827fe65db4 /contrib/libbluray/P00-mingw-lib.patch
parent680f04f8864999c742f071a0b1dad926104ec4fd (diff)
contrib: Update to libbluray 1.0.1.
BD-J is always enabled now, so add patch to fix symbols under mingw.
Diffstat (limited to 'contrib/libbluray/P00-mingw-lib.patch')
-rw-r--r--contrib/libbluray/P00-mingw-lib.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/libbluray/P00-mingw-lib.patch b/contrib/libbluray/P00-mingw-lib.patch
new file mode 100644
index 000000000..2597858db
--- /dev/null
+++ b/contrib/libbluray/P00-mingw-lib.patch
@@ -0,0 +1,13 @@
+--- libbluray-1.0.1/jni/win32/jni_md.h.orig 2017-03-02 08:33:49.000000000 -0500
++++ libbluray-1.0.1/jni/win32/jni_md.h 2017-08-16 12:07:43.000000000 -0400
+@@ -38,8 +38,8 @@
+ #ifndef _JNI_MD_H_
+ #define _JNI_MD_H_
+
+-#define JNIEXPORT __declspec(dllexport)
+-#define JNIIMPORT __declspec(dllimport)
++#define JNIEXPORT
++#define JNIIMPORT
+ #define JNICALL __stdcall
+
+ typedef long jint;