Files
pkgsrc-ng/multimedia/gst-plugins0.10-good/patches/patch-gst_goom_mmx.h
T
2016-01-21 23:40:00 +01:00

24 lines
780 B
C

$NetBSD: patch-gst_goom_mmx.h,v 1.1 2015/02/18 19:21:54 roy Exp $
Fixes build with clang on i386
Taken from FreeBSD
--- gst/goom/mmx.h.orig 2011-12-11 19:48:11.000000000 +0100
+++ gst/goom/mmx.h 2013-02-08 00:54:14.000000000 +0100
@@ -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