3
0
Fork 0
forked from mirrors/nixpkgs

readline-6.3: Fix build on Mac OS X < 10.9

http://hydra.nixos.org/build/12476331
This commit is contained in:
Eelco Dolstra 2014-07-22 11:24:00 +02:00
parent 4f7289eec9
commit b9e9e90a02
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,13 @@
diff -ru -x '*~' readline-6.3-orig/support/shobj-conf readline-6.3/support/shobj-conf
--- support/shobj-conf 2014-02-24 03:06:29.000000000 +0100
+++ support/shobj-conf 2014-07-22 11:18:52.000000000 +0200
@@ -194,9 +194,6 @@
# Darwin 8 == Mac OS X 10.4; Mac OS X 10.N == Darwin N+4
*)
case "${host_os}" in
- darwin[89]*|darwin1[012]*)
- SHOBJ_ARCHFLAGS='-arch_only `/usr/bin/arch`'
- ;;
*) # Mac OS X 10.9 (Mavericks) and later
SHOBJ_ARCHFLAGS=
# for 32 and 64bit universal library

View file

@ -13,7 +13,9 @@ stdenv.mkDerivation (rec {
patchFlags = "-p0";
patches =
[ ./link-against-ncurses.patch ];
[ ./link-against-ncurses.patch
./no-arch_only-6.3.patch
];
meta = {
description = "GNU Readline, a library for interactive line editing";