diff options
author | Yuichiro NAITO <[email protected]> | 2018-05-22 10:12:04 +0900 |
---|---|---|
committer | Yuichiro NAITO <[email protected]> | 2018-05-28 10:01:19 +0900 |
commit | fd2241a344b141fb5f1b8ec479dbb5783826f1ce (patch) | |
tree | 06f18e0140d4cb79e594514c904b151c63dcc782 /contrib | |
parent | c2c8c938b91b569229d896ab0a9df6f357375c88 (diff) |
Fix diff command check for FreeBSD.
FreeBSD's diff doesn't support --version option.
Use hash command to check if diff is available or not.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libvpx/P02-freebsd-configure.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/libvpx/P02-freebsd-configure.patch b/contrib/libvpx/P02-freebsd-configure.patch new file mode 100644 index 000000000..c5b38016f --- /dev/null +++ b/contrib/libvpx/P02-freebsd-configure.patch @@ -0,0 +1,11 @@ +--- libvpx-1.7.0/configure.orig 2018-01-25 07:25:44.000000000 +0900 ++++ libvpx-1.7.0/configure 2018-05-21 22:21:02.266701000 +0900 +@@ -170,7 +170,7 @@ + [ -f "${source_path}/${t}.mk" ] && enable_feature ${t} + done + +-if ! diff --version >/dev/null; then ++if ! hash diff 2>/dev/null; then + die "diff missing: Try installing diffutils via your package manager." + fi + |