mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
ncurses: apply a patch on Darwin for a clang bug
This commit is contained in:
parent
6025caa92b
commit
f39471a873
|
@ -18,7 +18,13 @@ stdenv.mkDerivation (rec {
|
||||||
sha256 = "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh";
|
sha256 = "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./patch-ac ];
|
clangPatch = fetchurl {
|
||||||
|
# Patch referenced from https://github.com/Homebrew/homebrew-dupes/issues/43
|
||||||
|
url = "http://lists.gnu.org/archive/html/bug-ncurses/2011-04/txtkWQqiQvcZe.txt";
|
||||||
|
sha256 = "03lrwqvb0r2qgi8hz7ayd3g26d6xilr3c92j8li3b77kdc0w0rlv";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ./patch-ac ] ++ stdenv.lib.optional stdenv.isDarwin clangPatch;
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--with-shared --without-debug --enable-pc-files --enable-symlinks
|
--with-shared --without-debug --enable-pc-files --enable-symlinks
|
||||||
|
|
Loading…
Reference in a new issue