Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 17:46:34 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332397 - head/multimedia/ffmpeg/files
Message-ID:  <201311011746.rA1HkYuH084399@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Fri Nov  1 17:46:33 2013
New Revision: 332397
URL: http://svnweb.freebsd.org/changeset/ports/332397

Log:
  - Fix build with clang on i386
  
  Reported by:	Herbert J. Skuhra <hskuhra@eumx.net>
  Approved by:	wg

Added:
  head/multimedia/ffmpeg/files/patch-libavutil-x86-asm.h   (contents, props changed)

Added: head/multimedia/ffmpeg/files/patch-libavutil-x86-asm.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/ffmpeg/files/patch-libavutil-x86-asm.h	Fri Nov  1 17:46:33 2013	(r332397)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311011746.rA1HkYuH084399>