libvisio: Boost 1.59 compat
This commit is contained in:
parent
6bdb5b90ca
commit
6fc70d6b2e
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];
|
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 = [
|
configureFlags = [
|
||||||
"--disable-werror"
|
"--disable-werror"
|
||||||
"--disable-tests"
|
"--disable-tests"
|
||||||
|
Loading…
Reference in New Issue
Block a user