From 6fc70d6b2edcdf0b9e97056184d493cc15622d95 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 3 Sep 2015 13:25:18 -0700 Subject: [PATCH] libvisio: Boost 1.59 compat --- pkgs/development/libraries/libvisio/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/libvisio/default.nix b/pkgs/development/libraries/libvisio/default.nix index 123e455bc4b8..bda14d729476 100644 --- a/pkgs/development/libraries/libvisio/default.nix +++ b/pkgs/development/libraries/libvisio/default.nix @@ -13,6 +13,12 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ]; + # Boost 1.59 compatability fix + # Attempt removing when updating + postPatch = '' + sed -i 's,^CPPFLAGS.*,\0 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED,' src/lib/Makefile.in + ''; + configureFlags = [ "--disable-werror" "--disable-tests"