cmis: fix build with gcc5

This commit is contained in:
Domen Kožar
2016-03-27 15:11:13 +02:00
committed by Michael Raskin
parent 1b30674165
commit 4a42548388
2 changed files with 43 additions and 2 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, boost, libxml2, pkgconfig, curl }:
{ stdenv, fetchurl, boost, libxml2, pkgconfig, curl, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libcmis-${version}";
@@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8";
};
buildInputs = [ boost libxml2 pkgconfig curl ];
patches = [ ./gcc5.patch ];
buildInputs = [ boost libxml2 pkgconfig curl autoreconfHook ];
configureFlags = "--without-man --with-boost=${boost.dev} --disable-werror --disable-tests";
# Cppcheck cannot find all the include files (use --check-config for details)