libvpx: Fix build without diffutils.

This commit is contained in:
Dylan Araps 2019-07-27 10:06:28 +03:00
parent 2fc3f073f5
commit 7d40b1580e
5 changed files with 18 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e
patch -p1 < fix-busybox-diff.patch
./configure \
--prefix=/usr \
--enable-vp8 \

View File

@ -1 +1,2 @@
1fec931eb5c94279ad219a5b6e0202358e94a93a90cfb1603578c326abfc1238 v1.7.0.tar.gz
ce802d64bcbeb4230527aea2b4284d9844fb12fa5aca868a94e03982f85ec45b fix-busybox-diff.patch

View File

@ -0,0 +1,13 @@
diff --git a/configure b/configure
index e5a74c6..11f660d 100755
--- a/configure
+++ b/configure
@@ -170,7 +170,7 @@ for t in ${all_targets}; do
[ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
done
-if ! diff --version >/dev/null; then
+if ! command -v diff >/dev/null; then
die "diff missing: Try installing diffutils via your package manager."
fi

View File

@ -1 +1,2 @@
https://github.com/webmproject/libvpx/archive/v1.7.0.tar.gz
patches/fix-busybox-diff.patch

View File

@ -1 +1 @@
1.7.0 1
1.7.0 2