summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRyo ONODERA <[email protected]>2019-05-03 21:38:28 +0900
committerBradley Sepos <[email protected]>2019-06-18 10:42:42 -0400
commitec37c8341ea0d57d106e758da1027e9498b81735 (patch)
tree765d6d1684f29fbf11db4ac390e981ac3b907739 /contrib
parent3f5e121648e2714a56b5b8eb2f48e92319bcc14c (diff)
Fix build of libbluray under NetBSD
Provide a header file for NetBSD.
Diffstat (limited to 'contrib')
-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 :