svn commit: r323375 - head/multimedia/libxine

Juergen Lock nox at FreeBSD.org
Sun Jul 21 11:27:18 UTC 2013


Author: nox
Date: Sun Jul 21 11:27:17 2013
New Revision: 323375
URL: http://svnweb.freebsd.org/changeset/ports/323375

Log:
  Set USE_GCC= any on i386 as clang there doesn't like
  src/post/deinterlace/plugins/greedy2frame_template_sse2.c .
  
  Submitted by:	pointyhat via miwi

Modified:
  head/multimedia/libxine/Makefile

Modified: head/multimedia/libxine/Makefile
==============================================================================
--- head/multimedia/libxine/Makefile	Sun Jul 21 11:17:23 2013	(r323374)
+++ head/multimedia/libxine/Makefile	Sun Jul 21 11:27:17 2013	(r323375)
@@ -83,6 +83,20 @@ PATCH_DIST_ARGS=	-d ${WRKSRC} -p1 --forw
 
 .include <bsd.port.options.mk>
 
+# clang/i386 doesn't like
+#	src/post/deinterlace/plugins/greedy2frame_template_sse2.c :
+# [...]
+# ./greedy2frame_template_sse2.c:175:38: error: register %rax is only available in 64-bit mode
+#            "movdqa  (%3), %%xmm0               \n\t" /* xmm0 = T0 */
+#                                                  ^
+#<inline asm>:3:11: note: instantiated into assembly here
+#        movdqa  (%rax,%esi), %xmm3
+#                 ^~~~
+# [...]
+.if ${ARCH} == "i386"
+USE_GCC=	any
+.endif
+
 # Fix build WITH_DEBUG
 .if defined(WITH_DEBUG)
 DEBUG_FLAGS=	-g -O1


More information about the svn-ports-all mailing list