aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libxine/files/patch-src-post-goom-mmx.h
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-11-28 17:18:14 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-11-28 17:18:14 +0000
commit5a0730528293d15581d32b4b7009a733df05557a (patch)
treec0af9fe698df4d255289846beb41254fc2e2abe4 /multimedia/libxine/files/patch-src-post-goom-mmx.h
parent8c2c7ef1b0db9be7219a63c37bb61d5861df03d3 (diff)
downloadports-5a0730528293d15581d32b4b7009a733df05557a.tar.gz
ports-5a0730528293d15581d32b4b7009a733df05557a.zip
- Sync goom emms clang patch with the one from
multimedia/gstreamer-plugins-good, removing #ifdef __clang__. - 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
Notes
Notes: svn path=/head/; revision=335109
Diffstat (limited to 'multimedia/libxine/files/patch-src-post-goom-mmx.h')
-rw-r--r--multimedia/libxine/files/patch-src-post-goom-mmx.h24
1 files changed, 5 insertions, 19 deletions
diff --git a/multimedia/libxine/files/patch-src-post-goom-mmx.h b/multimedia/libxine/files/patch-src-post-goom-mmx.h
index 091d41caeeae..11c5bdc65b4c 100644
--- a/multimedia/libxine/files/patch-src-post-goom-mmx.h
+++ b/multimedia/libxine/files/patch-src-post-goom-mmx.h
@@ -1,32 +1,18 @@
--- src/post/goom/mmx.h.orig
+++ src/post/goom/mmx.h
-@@ -721,17 +721,29 @@ void zoom_filter_xmmx (int prevX, int pr
- */
- #ifdef MMX_TRACE
-
-+#ifdef __clang__
-+#define emms() \
-+ { \
-+ printf("emms()\n"); \
-+ __asm__ __volatile__ ("emms"); \
-+ }
-+#else
- #define emms() \
+@@ -725,13 +725,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(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
#else
-+#ifdef __clang__
-+#define emms() __asm__ __volatile__ ("emms")
-+#else
#define emms() __asm__ __volatile__ ("emms"::: \
- "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
-+#endif
+- "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