abook: fix compiling with gcc5

This commit is contained in:
Robin Gloster 2016-02-08 23:27:06 +00:00
parent 2f1567ad33
commit 37918bdc7a

View File

@ -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";