diff options
author | Robin Gloster <mail@glob.in> | 2016-02-08 23:27:06 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-02-08 23:27:06 +0000 |
commit | 37918bdc7a09e34985c57a3fe64000edf92362b3 (patch) | |
tree | 7bb488d202478fec0d5023d16d261f29e9bd1511 | |
parent | 2f1567ad33d585f93e5314b161fbd2a60fa66e64 (diff) |
abook: fix compiling with gcc5
-rw-r--r-- | pkgs/applications/misc/abook/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/abook/default.nix b/pkgs/applications/misc/abook/default.nix index 77e48e49dd89e..b8e662a42cdc8 100644 --- a/pkgs/applications/misc/abook/default.nix +++ b/pkgs/applications/misc/abook/default.nix @@ -11,6 +11,11 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig ncurses readline ]; + # Changed inline semantics in GCC5, need to export symbols for inline funcs + postPatch = '' + substituteInPlace database.c --replace inline extern + ''; + meta = { homepage = "http://abook.sourceforge.net/"; description = "Text-based addressbook program designed to use with mutt mail client"; |