Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 17:14:07 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335108 - in head/graphics/goom: . files
Message-ID:  <201311281714.rASHE7Ej025725@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Thu Nov 28 17:14:06 2013
New Revision: 335108
URL: http://svnweb.freebsd.org/changeset/ports/335108

Log:
  - Fix build with clang on i386.
  - Remove USE_GCC.
  - No PORTREVISION bump as there should be no functional change.
  
  Submitted by:	dim
  Obtained from:	multimedia/gstreamer-plugins-good/files/patch-gst_goom_mmx.h

Added:
  head/graphics/goom/files/
  head/graphics/goom/files/patch-src-mmx.h   (contents, props changed)
Modified:
  head/graphics/goom/Makefile

Modified: head/graphics/goom/Makefile
==============================================================================
--- head/graphics/goom/Makefile	Thu Nov 28 16:49:31 2013	(r335107)
+++ head/graphics/goom/Makefile	Thu Nov 28 17:14:06 2013	(r335108)
@@ -40,8 +40,4 @@ pre-everything::
 BROKEN=		Does not compile on powerpc
 .endif
 
-.if ${ARCH} == "i386"
-USE_GCC=	any
-.endif
-
 .include <bsd.port.post.mk>

Added: head/graphics/goom/files/patch-src-mmx.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/goom/files/patch-src-mmx.h	Thu Nov 28 17:14:06 2013	(r335108)
@@ -0,0 +1,18 @@
+--- src/mmx.h.orig
++++ src/mmx.h
+@@ -715,13 +715,13 @@ void zoom_filter_xmmx (int prevX, int pr
+ 	{ \
+ 		printf("emms()\n"); \
+ 		__asm__ __volatile__ ("emms" \
+-                        "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
++                        "st","st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
+ 	}
+ 
+ #else
+ 
+ #define	emms() __asm__ __volatile__ ("emms"::: \
+-                      "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
++                      "st","st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
+ 
+ #endif
+ 



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