forked from kiss-community/repo
libvpx: Fix build without diffutils.
This commit is contained in:
parent
2fc3f073f5
commit
7d40b1580e
@ -1,5 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < fix-busybox-diff.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-vp8 \
|
||||
|
@ -1 +1,2 @@
|
||||
1fec931eb5c94279ad219a5b6e0202358e94a93a90cfb1603578c326abfc1238 v1.7.0.tar.gz
|
||||
ce802d64bcbeb4230527aea2b4284d9844fb12fa5aca868a94e03982f85ec45b fix-busybox-diff.patch
|
||||
|
13
testing/libvpx/patches/fix-busybox-diff.patch
Normal file
13
testing/libvpx/patches/fix-busybox-diff.patch
Normal 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
|
||||
|
@ -1 +1,2 @@
|
||||
https://github.com/webmproject/libvpx/archive/v1.7.0.tar.gz
|
||||
patches/fix-busybox-diff.patch
|
||||
|
@ -1 +1 @@
|
||||
1.7.0 1
|
||||
1.7.0 2
|
||||
|
Loading…
Reference in New Issue
Block a user