libe-book: Boost 1.59 compat
This commit is contained in:
parent
6fc70d6b2e
commit
677fe9f934
@ -15,10 +15,16 @@ let
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
gperf pkgconfig librevenge libxml2 boost icu cppunit zlib
|
gperf pkgconfig librevenge libxml2 boost icu cppunit zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# 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
|
||||||
|
'';
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit (s) name version;
|
inherit (s) name version;
|
||||||
inherit buildInputs;
|
inherit buildInputs postPatch;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit (s) url sha256;
|
inherit (s) url sha256;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user