0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. From 61aea32efe675e584121295452fc7ab2a652d021 Mon Sep 17 00:00:00 2001
  2. From: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. Date: Wed, 20 Apr 2016 09:39:30 -0300
  4. Subject: [PATCH] wscript: don't check for fork() on POSIX checks
  5. It's not being used, and in fact prevents mpv from being built in nommu
  6. architectures (cortex M, blackfin, ...)
  7. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  8. ---
  9. Status: pull request https://github.com/mpv-player/mpv/pull/3068
  10. wscript | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/wscript b/wscript
  13. index a4ffce6..40328e4 100644
  14. --- a/wscript
  15. +++ b/wscript
  16. @@ -127,7 +127,7 @@ main_dependencies = [
  17. 'desc': 'POSIX environment',
  18. # This should be good enough.
  19. 'func': check_statement(['poll.h', 'unistd.h', 'sys/mman.h'],
  20. - 'struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0)'),
  21. + 'struct pollfd pfd; poll(&pfd, 1, 0); int f[2]; pipe(f); munmap(f,0)'),
  22. }, {
  23. 'name': 'posix-or-mingw',
  24. 'desc': 'development environment',
  25. --
  26. 2.7.3