From d0620f96c67c346a2020ad305a14dbaf84a3a8fd Mon Sep 17 00:00:00 2001 From: Yuichiro NAITO Date: Sun, 15 Apr 2018 13:13:29 +0900 Subject: [PATCH] contrib: Add libbluray workaround for FreeBSD build with gcc7. Closes #1281 and #1282. --- contrib/libbluray/P01-freebsd-configure.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 contrib/libbluray/P01-freebsd-configure.patch diff --git a/contrib/libbluray/P01-freebsd-configure.patch b/contrib/libbluray/P01-freebsd-configure.patch new file mode 100644 index 000000000..c3c16e965 --- /dev/null +++ b/contrib/libbluray/P01-freebsd-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` = 'FreeBSD' ; then ++ ln -s linux jni/freebsd ++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 : -- 2.40.0