1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/goom/files/patch-src-mmx.h
Juergen Lock 8c2c7ef1b0 - 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
2013-11-28 17:14:06 +00:00

19 lines
578 B
C

--- 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