diff options
author | jhale <jhale@FreeBSD.org> | 2013-11-02 01:46:33 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2013-11-02 01:46:33 +0800 |
commit | 9ed5f0261d79e8713df09ccdd897b4ef332933b0 (patch) | |
tree | 26bf9b580ce747f59b9e64dd2e183de4ef6ff505 /multimedia | |
parent | 7b3c2dbe05efcd2b1759133c15b8f4f67121b84b (diff) | |
download | freebsd-ports-gnome-9ed5f0261d79e8713df09ccdd897b4ef332933b0.tar.gz freebsd-ports-gnome-9ed5f0261d79e8713df09ccdd897b4ef332933b0.tar.zst freebsd-ports-gnome-9ed5f0261d79e8713df09ccdd897b4ef332933b0.zip |
- Fix build with clang on i386
Reported by: Herbert J. Skuhra <hskuhra@eumx.net>
Approved by: wg
Diffstat (limited to 'multimedia')
-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) |