mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
- Reduce the number of dependencies (use internal ffmpeg whenever possible) in mplayer - Do not build with clang on i386 - Use new options framework PR: 177083 Submitted by: Thomas Zander <thomas.e.zander@googlemail.com> (maintainer)
24 lines
847 B
Text
24 lines
847 B
Text
--- configure.orig 2013-03-03 11:29:18.000000000 +0100
|
|
+++ configure 2013-03-08 18:41:56.973900357 +0100
|
|
@@ -2834,10 +2834,6 @@
|
|
def_ebx_available='#define HAVE_EBX_AVAILABLE 0'
|
|
def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 0'
|
|
|
|
-if x86_64 ; then
|
|
-inline_asm_check '"mov (%eax), %eax"' || die "Your binutils version is too old to compile for 64-bit (on OSX try --cc=clang)"
|
|
-fi
|
|
-
|
|
if x86 ; then
|
|
|
|
echocheck ".align is a power of two"
|
|
--- ffmpeg/libavutil/x86/asm.h.orig 2012-10-26 02:48:45.000000000 +0200
|
|
+++ ffmpeg/libavutil/x86/asm.h 2013-03-08 18:45:58.593916599 +0100
|
|
@@ -71,7 +71,7 @@
|
|
#define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE))
|
|
#define HAVE_6REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE || HAVE_EBP_AVAILABLE))
|
|
|
|
-#if ARCH_X86_64 && defined(PIC)
|
|
+#if ARCH_X86_64
|
|
# define BROKEN_RELOCATIONS 1
|
|
#endif
|
|
|