0016-contrib-vpx-fix-x86-iOS-simulator-compilation.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From cd465718524c4dd72569e1c9c2f0f238519d763b Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Sat, 2 May 2015 13:34:05 +0200
  4. Subject: [PATCH 16/16] contrib/vpx: fix x86 iOS simulator compilation
  5. ---
  6. contrib/src/vpx/libvpx-ios.patch | 20 ++++++++++++++++----
  7. 1 file changed, 16 insertions(+), 4 deletions(-)
  8. diff --git a/contrib/src/vpx/libvpx-ios.patch b/contrib/src/vpx/libvpx-ios.patch
  9. index 852792d..ca3d721 100644
  10. --- a/contrib/src/vpx/libvpx-ios.patch
  11. +++ b/contrib/src/vpx/libvpx-ios.patch
  12. @@ -1,6 +1,6 @@
  13. -diff -ru libvpx/build/make/configure.sh libvpx/build/make/configure.sh
  14. ---- libvpx/build/make/configure.sh 2014-11-04 21:34:04.000000000 +0100
  15. -+++ libvpx/build/make/configure.sh 2014-11-04 21:36:12.000000000 +0100
  16. +diff -ru libvpx/build/make/configure.sh libvpx-fi/build/make/configure.sh
  17. +--- libvpx/build/make/configure.sh 2015-05-02 13:31:42.000000000 +0200
  18. ++++ libvpx-fi/build/make/configure.sh 2015-05-02 13:31:26.000000000 +0200
  19. @@ -714,59 +714,6 @@
  20. # PIC is probably what we want when building shared libs
  21. enabled shared && soft_enable pic
  22. @@ -61,7 +61,19 @@ diff -ru libvpx/build/make/configure.sh libvpx/build/make/configure.sh
  23. # Handle Solaris variants. Solaris 10 needs -lposix4
  24. case ${toolchain} in
  25. sparc-solaris-*)
  26. -@@ -1070,7 +1017,13 @@
  27. +@@ -1025,11 +972,6 @@
  28. + x86*)
  29. + bits=32
  30. + enabled x86_64 && bits=64
  31. +- check_cpp <<EOF && bits=x32
  32. +-#ifndef __ILP32__
  33. +-#error "not x32"
  34. +-#endif
  35. +-EOF
  36. +
  37. + case ${tgt_os} in
  38. + win*)
  39. +@@ -1070,7 +1012,13 @@
  40. ;;
  41. gcc*)
  42. add_cflags -m${bits}
  43. --
  44. 2.4.0