]> granicus.if.org Git - handbrake/commitdiff
Fix build of libbluray under NetBSD
authorRyo ONODERA <ryo@tetera.org>
Fri, 3 May 2019 12:38:28 +0000 (21:38 +0900)
committerBradley Sepos <bradley@bradleysepos.com>
Tue, 18 Jun 2019 14:42:42 +0000 (10:42 -0400)
Provide a header file for NetBSD.

contrib/libbluray/P02-netbsd-configure.patch [new file with mode: 0644]

diff --git a/contrib/libbluray/P02-netbsd-configure.patch b/contrib/libbluray/P02-netbsd-configure.patch
new file mode 100644 (file)
index 0000000..1542b41
--- /dev/null
@@ -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 :