[SCM] libav/experimental: Use a "b" constraint instead of ebx clobber to detect if EBX is available. The test using clobber incorrectly indicates ebx to be available with the default compilers on OpenBSD 4.5 and Haiku.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:52:14 UTC 2013


The following commit has been merged in the experimental branch:
commit 5baaf9adafe839c4ae9e7947c4d6c19329e469a7
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Wed Sep 30 16:55:32 2009 +0000

    Use a "b" constraint instead of ebx clobber to detect if EBX is available.
    The test using clobber incorrectly indicates ebx to be available with the
    default compilers on OpenBSD 4.5 and Haiku.
    
    Originally committed as revision 20101 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 30f2084..94ceb53 100755
--- a/configure
+++ b/configure
@@ -2162,7 +2162,7 @@ elif enabled x86; then
 EOF
 
     # check whether EBX is available on x86
-    check_asm ebx_available '"":::"%ebx"'
+    check_asm ebx_available '""::"b"(0)'
 
     # check whether more than 10 operands are supported
     check_cc <<EOF && enable ten_operands

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list