summaryrefslogtreecommitdiffstats
path: root/contrib/libbluray/P02-netbsd-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libbluray/P02-netbsd-configure.patch')
-rw-r--r--contrib/libbluray/P02-netbsd-configure.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/libbluray/P02-netbsd-configure.patch b/contrib/libbluray/P02-netbsd-configure.patch
new file mode 100644
index 000000000..1542b41e7
--- /dev/null
+++ b/contrib/libbluray/P02-netbsd-configure.patch
@@ -0,0 +1,13 @@
+--- libbluray-1.0.2/configure.orig 2017-12-04 00:27:38.000000000 +0900
++++ libbluray-1.0.2/configure 2018-04-09 20:47:19.504645000 +0900
+@@ -14,6 +14,10 @@
+ ## M4sh Initialization. ##
+ ## -------------------- ##
+
++if test `uname` = 'NetBSD' ; then
++ ln -s linux/jni_md.h jni/jni_md.h
++fi
++
+ # Be more Bourne compatible
+ DUALCASE=1; export DUALCASE # for MKS sh
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :