[vlc-commits] contrib: vpx: update win64 patch (pushed upstream already)

Rafaël Carré git at videolan.org
Sat Nov 12 04:42:22 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Nov 11 22:41:32 2011 -0500| [826d193f25c365dcaffb53fcd229a9c1eb6523c5] | committer: Rafaël Carré

contrib: vpx: update win64 patch (pushed upstream already)

Generates correct assembly and fix vp8 crash

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=826d193f25c365dcaffb53fcd229a9c1eb6523c5
---

 contrib/src/vpx/libvpx-win64.patch |   43 ++++++++++++++++++++++++++---------
 1 files changed, 32 insertions(+), 11 deletions(-)

diff --git a/contrib/src/vpx/libvpx-win64.patch b/contrib/src/vpx/libvpx-win64.patch
index 1c9ae1d..8a6d0dd 100644
--- a/contrib/src/vpx/libvpx-win64.patch
+++ b/contrib/src/vpx/libvpx-win64.patch
@@ -9,14 +9,35 @@ diff -ru libvpx.orig/configure libvpx/configure
  all_platforms="${all_platforms} x86_64-win64-vs8"
  all_platforms="${all_platforms} x86_64-win64-vs9"
  all_platforms="${all_platforms} universal-darwin8-gcc"
---- libvpx/vpx_ports/x86_abi_support.asm.orig	2011-11-06 20:40:14.131254698 -0500
-+++ libvpx/vpx_ports/x86_abi_support.asm	2011-11-06 20:40:16.975268804 -0500
-@@ -88,6 +88,8 @@
- %define sym(x) x
- %elifidn __OUTPUT_FORMAT__,x64
- %define sym(x) x
-+%elifidn __OUTPUT_FORMAT__,win64
-+%define sym(x) x
- %else
- %define sym(x) _ %+ x
- %endif
+diff --git a/build/make/configure.sh b/build/make/configure.sh
+From 75340193f720eceea5f52b00fcda83aef651b6e8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman at videolan.org>
+Date: Mon, 7 Nov 2011 19:45:34 -0500
+Subject: [PATCH] win64: use -f x64 in asflags instead of -f win64
+
+Change-Id: Id1be1a91c7f0fd286c403489ff447837029ba17f
+---
+ build/make/configure.sh |    8 ++++++--
+ 1 files changed, 6 insertions(+), 2 deletions(-)
+
+index 1bb50af..1279f78 100755
+--- a/build/make/configure.sh
++++ b/build/make/configure.sh
+@@ -901,8 +901,12 @@ process_common_toolchain() {
+         [ "${AS##*/}" = nasm ] && add_asflags -Ox
+         AS_SFX=.asm
+         case  ${tgt_os} in
+-            win*)
+-                add_asflags -f win${bits}
++            win32)
++                add_asflags -f win32
++                enabled debug && add_asflags -g cv8
++            ;;
++            win64)
++                add_asflags -f x64
+                 enabled debug && add_asflags -g cv8
+             ;;
+             linux*|solaris*)
+-- 
+1.7.5.4
+



More information about the vlc-commits mailing list