libcdr: Boost 1.59 compat
This commit is contained in:
parent
11315f9e70
commit
799a02f209
|
@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
# 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 = if stdenv.cc.isClang
|
||||
then [ "--disable-werror" ] else null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue