From: Yuichiro NAITO Date: Sun, 15 Apr 2018 04:13:29 +0000 (+0900) Subject: contrib: Add libbluray workaround for FreeBSD build with gcc7. X-Git-Tag: 1.1.1~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94c493188c457bf88fb4655dcce8e86ae72e5c36;p=handbrake contrib: Add libbluray workaround for FreeBSD build with gcc7. Closes #1281 #1282. (cherry picked from commit d0620f96c67c346a2020ad305a14dbaf84a3a8fd) --- 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 :