diff options
-rw-r--r-- | multimedia/ffmpeg/files/patch-libavutil-x86-asm.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/files/patch-libavutil-x86-asm.h b/multimedia/ffmpeg/files/patch-libavutil-x86-asm.h new file mode 100644 index 000000000000..52ff6d3247fa --- /dev/null +++ b/multimedia/ffmpeg/files/patch-libavutil-x86-asm.h @@ -0,0 +1,11 @@ +--- ./libavutil/x86/asm.h.orig 2013-11-01 13:02:26.000000000 -0400 ++++ ./libavutil/x86/asm.h 2013-11-01 13:03:00.000000000 -0400 +@@ -70,7 +70,7 @@ + typedef int x86_reg; + #endif + +-#define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE)) ++#define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE && !defined(__clang__))) + #define HAVE_6REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE || HAVE_EBP_AVAILABLE)) + + #if ARCH_X86_64 && defined(PIC) |