From ec37c8341ea0d57d106e758da1027e9498b81735 Mon Sep 17 00:00:00 2001 From: Ryo ONODERA Date: Fri, 3 May 2019 21:38:28 +0900 Subject: Fix build of libbluray under NetBSD Provide a header file for NetBSD. --- contrib/libbluray/P02-netbsd-configure.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 contrib/libbluray/P02-netbsd-configure.patch (limited to 'contrib') 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 : -- cgit v1.2.3