librevenge: Fix boost 1.59 compat
This commit is contained in:
parent
0631e2233d
commit
57dc088f9e
@ -26,6 +26,12 @@ stdenv.mkDerivation {
|
|||||||
configureFlags = if stdenv.cc.isClang
|
configureFlags = if stdenv.cc.isClang
|
||||||
then [ "--disable-werror" ] else null;
|
then [ "--disable-werror" ] else null;
|
||||||
|
|
||||||
|
# Fix an issue with boost 1.59
|
||||||
|
# This is fixed upstream so please remove this when updating
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's,-DLIBREVENGE_BUILD,\0 -DBOOST_ERROR_CODE_HEADER_ONLY,g' src/lib/Makefile.in
|
||||||
|
'';
|
||||||
|
|
||||||
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'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user