aboutsummaryrefslogtreecommitdiff
path: root/package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-04-27 10:12:02 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-04-27 23:14:20 +0200
commitb01fd8761b4cf000394d4fc7279c1cacea8412b5 (patch)
tree3f821b209d10f1fe1ff94c9c69fc395a874fe896 /package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch
parent519d83bfa0442439026db4e71e605a5c1347e566 (diff)
downloadbuildroot-b01fd8761b4cf000394d4fc7279c1cacea8412b5.tar.gz
buildroot-b01fd8761b4cf000394d4fc7279c1cacea8412b5.tar.bz2
mpv: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch')
-rw-r--r--package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch b/package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch
new file mode 100644
index 0000000000..544c03c058
--- /dev/null
+++ b/package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch
@@ -0,0 +1,31 @@
+From 61aea32efe675e584121295452fc7ab2a652d021 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Wed, 20 Apr 2016 09:39:30 -0300
+Subject: [PATCH] wscript: don't check for fork() on POSIX checks
+
+It's not being used, and in fact prevents mpv from being built in nommu
+architectures (cortex M, blackfin, ...)
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+Status: pull request https://github.com/mpv-player/mpv/pull/3068
+
+ wscript | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/wscript b/wscript
+index a4ffce6..40328e4 100644
+--- a/wscript
++++ b/wscript
+@@ -127,7 +127,7 @@ main_dependencies = [
+ 'desc': 'POSIX environment',
+ # This should be good enough.
+ 'func': check_statement(['poll.h', 'unistd.h', 'sys/mman.h'],
+- 'struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0)'),
++ 'struct pollfd pfd; poll(&pfd, 1, 0); int f[2]; pipe(f); munmap(f,0)'),
+ }, {
+ 'name': 'posix-or-mingw',
+ 'desc': 'development environment',
+--
+2.7.3
+