diff options
author | Yuichiro NAITO <[email protected]> | 2018-04-15 13:13:29 +0900 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-04-16 16:57:18 -0400 |
commit | d0620f96c67c346a2020ad305a14dbaf84a3a8fd (patch) | |
tree | 22406449bd30abe9b040143c451c32f084bb8c9b | |
parent | 9b4b3ee193ad82ce1e19e170efcf330325cd7fcf (diff) |
contrib: Add libbluray workaround for FreeBSD build with gcc7.
Closes #1281 and #1282.
-rw-r--r-- | contrib/libbluray/P01-freebsd-configure.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 : |