- 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
This commit is contained in:
parent
65990f38b1
commit
8c2c7ef1b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335108
@ -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>
|
||||
|
18
graphics/goom/files/patch-src-mmx.h
Normal file
18
graphics/goom/files/patch-src-mmx.h
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user