diff options
author | Koop Mast <kwm@FreeBSD.org> | 2015-02-03 19:08:59 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2015-02-03 19:08:59 +0000 |
commit | 363989540e58ee5be84ef0051aeea6611f12542e (patch) | |
tree | 24b6c468b517efb53215956be6c2b2aeeebd0063 /x11/pixman | |
parent | 09c36b821f1e77a4676a772a70ec42695e98fbfa (diff) | |
download | ports-363989540e58ee5be84ef0051aeea6611f12542e.tar.gz ports-363989540e58ee5be84ef0051aeea6611f12542e.zip |
Notes
Diffstat (limited to 'x11/pixman')
-rw-r--r-- | x11/pixman/files/patch-pixman_pixman-mmx.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/pixman/files/patch-pixman_pixman-mmx.c b/x11/pixman/files/patch-pixman_pixman-mmx.c new file mode 100644 index 000000000000..138b67e83959 --- /dev/null +++ b/x11/pixman/files/patch-pixman_pixman-mmx.c @@ -0,0 +1,21 @@ +Clang 3.6 is a lot stricter with some constraints. + +https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197201 + +http://llvm.org/viewvc/llvm-project?view=revision&revision=225244 +http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150112/121309.html + +--- files/patch-pixman__pixman-mmx.c (revision 0) ++++ files/patch-pixman__pixman-mmx.c (working copy) +@@ -0,0 +1,11 @@ ++--- pixman/pixman-mmx.c.orig 2014-04-24 08:34:14.000000000 +0400 +++++ pixman/pixman-mmx.c 2015-01-30 20:19:28.000000000 +0300 ++@@ -89,7 +89,7 @@ ++ return __A; ++ } ++ ++-# ifdef __OPTIMIZE__ +++# if defined(__OPTIMIZE__) && !(defined (__clang__) && defined(__clang_major__) && defined(__clang_minor__) && __clang_major__ == 3 && __clang_minor__ >= 6) ++ extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__)) ++ _mm_shuffle_pi16 (__m64 __A, int8_t const __N) ++ { |