[SCM] libav/master: Disable ebx on i586

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Tue May 5 19:44:38 UTC 2015


The following commit has been merged in the master branch:
commit c5f8fdceaab962ba34ff41b9510c7359ff97afc5
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Tue May 5 21:32:01 2015 +0200

    Disable ebx on i586
    
    Thanks: Bernhard Übelacker <bernhardu at vr-web.de>
    Closes: #783082

diff --git a/debian/patches/02-configure-disable-ebx-gcc-4.9.patch b/debian/patches/02-configure-disable-ebx-gcc-4.9.patch
new file mode 100644
index 0000000..a9e3568
--- /dev/null
+++ b/debian/patches/02-configure-disable-ebx-gcc-4.9.patch
@@ -0,0 +1,25 @@
+Description: Disable ebx_available on i586
+Author: Sebastian Ramacher <sramacher at debian.org>,
+ Bernhard Übelacker <bernhardu at vr-web.de>
+Bug: https://bugzilla.libav.org/show_bug.cgi?id=850
+Bug-Debian: https://bugs.debian.org/783082
+Last-Update: 2015-05-05
+
+--- a/configure
++++ b/configure
+@@ -3941,6 +3941,15 @@
+     check_inline_asm ebx_available '""::"b"(0)' &&
+         check_inline_asm ebx_available '"":::"%ebx"'
+ 
++    # workaround for debian#783082 / libav#850
++    if enabled gcc; then
++      case $($cc -dumpversion) in
++        4.9.*|5.*)
++          disable ebx_available
++        ;;
++      esac
++    fi
++
+     # check whether xmm clobbers are supported
+     check_inline_asm xmm_clobbers '"":::"%xmm0"'
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 3199e41..db402e3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
+01-configure-disable-i686-for-i586.patch
+02-configure-disable-ebx-gcc-4.9.patch
 03-disable-configuration-warnings.patch

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list