From 37918bdc7a09e34985c57a3fe64000edf92362b3 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 8 Feb 2016 23:27:06 +0000 Subject: [PATCH] abook: fix compiling with gcc5 --- pkgs/applications/misc/abook/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/abook/default.nix b/pkgs/applications/misc/abook/default.nix index 77e48e49dd8..b8e662a42cd 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";