Adding a patch for mesa, for it to build on the loongson2f.

svn path=/nixpkgs/trunk/; revision=31749
This commit is contained in:
Lluís Batlle i Rossell
2012-01-21 00:34:30 +00:00
parent 09fee60ee2
commit 6945a75f7b
2 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ stdenv.mkDerivation {
sha256 = "0msk1fh4yw4yi7z37v75vhpa23z49lkwgin6drczbihbqsl6lx2p";
};
patches = [ ./swrast-settexbuffer.patch ];
patches = [ ./swrast-settexbuffer.patch ] ++ stdenv.lib.optional
(stdenv.system == "mips64-linux") ./mips_wmb.patch;
prePatch = "patchShebangs .";