librevenge: fix on Darwin

This commit is contained in:
Spencer Whitt 2015-04-07 21:14:24 -04:00
parent 5e62ac5501
commit 2180d95937

View File

@ -19,11 +19,18 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
inherit (s) url sha256; inherit (s) url sha256;
}; };
# Clang generates warnings in Boost's header files
# -Werror causes these warnings to be interpreted as errors
# Simplest solution: disable -Werror
configureFlags = if (stdenv.cc.cc.isClang or false)
then [ "--disable-werror" ] else null;
meta = { meta = {
inherit (s) version; inherit (s) version;
description = ''A base library for writing document import filters''; description = ''A base library for writing document import filters'';
license = stdenv.lib.licenses.mpl20 ; license = stdenv.lib.licenses.mpl20 ;
maintainers = [stdenv.lib.maintainers.raskin]; maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.unix;
}; };
} }