]> granicus.if.org Git - handbrake/commitdiff
contrib: Add libbluray workaround for FreeBSD build with gcc7.
authorYuichiro NAITO <naito.yuichiro@gmail.com>
Sun, 15 Apr 2018 04:13:29 +0000 (13:13 +0900)
committerBradley Sepos <bradley@bradleysepos.com>
Mon, 16 Apr 2018 20:58:25 +0000 (16:58 -0400)
Closes #1281 #1282.

(cherry picked from commit d0620f96c67c346a2020ad305a14dbaf84a3a8fd)

contrib/libbluray/P01-freebsd-configure.patch [new file with mode: 0644]

diff --git a/contrib/libbluray/P01-freebsd-configure.patch b/contrib/libbluray/P01-freebsd-configure.patch
new file mode 100644 (file)
index 0000000..c3c16e9
--- /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` = '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 :