3
0
Fork 0
forked from mirrors/nixpkgs

llvm: fix #22567 oversaturated red icons

This commit is contained in:
Vladimír Čunát 2017-02-11 11:03:59 +01:00
parent a750890b0e
commit f4d1bcb9a7
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,5 +1,6 @@
{ stdenv
, fetch
, fetchpatch
, perl
, groff
, cmake
@ -45,6 +46,13 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [ ncurses zlib ];
postPatch = ""
+ ''
patch -p1 --reverse < ${fetchpatch {
name = "fix-red-icons.diff"; # https://bugs.freedesktop.org/show_bug.cgi?id=99078
url = https://github.com/llvm-mirror/llvm/commit/c280d74837d8.diff;
sha256 = "11sq86spw41v72f676igksapdlsgh7fiqp5qkkmgfj0ndqcn9skf";
}}
''
# hacky fix: New LLVM releases require a newer OS X SDK than
# 10.9. This is a temporary measure until nixpkgs darwin support is
# updated.