NixOS/nixpkgs — pull request #1596 by kquick (2014-01-25 21:32:22+00:00)
Title: readline 6.2 patch 5 and gawk readline dependency

* Updates readline 6.2 patch set for upstream patch 5. This is needed for Mac OS X Maverics 10.9.1 (darwin 13).

```
$ uname -a
Darwin fogo.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
$
```

* Adds readline dependency to gawk. The gawk package configure step looks for readline but since readline was not explicitly found it will pull whatever version it can find from the environment. On a Mac system (config above) the readline library is new, so the hydra binary version of gawk pulled results in:

```
$ gawk
dyld: Library not loaded: /usr/lib/libreadline.6.0.dylib
Referenced from: /Users/kquick/.nix-profile/bin/gawk
Reason: image not found
Trace/BPT trap: 5 (core dumped)
$
```