pixman: remove legacy patches

This commit is contained in:
Vincent Laporte 2016-02-29 19:14:41 +01:00
parent 9af50a2e7d
commit b1801168e3
2 changed files with 1 additions and 12 deletions

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "184lazwdpv67zrlxxswpxrdap85wminh1gmq1i5lcz6iycw39fir";
};
patches = stdenv.lib.optional stdenv.isDarwin ./fix-clang36.patch;
patches = [];
nativeBuildInputs = [ pkgconfig ];
buildInputs = stdenv.lib.optional doCheck libpng;

View file

@ -1,11 +0,0 @@
--- a/pixman/pixman-mmx.c 2014-04-24 08:34:14.000000000 +0400
+++ b/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)
{