openbabel2: fixup build with gcc12
This is actually the one I wanted to fix in commit ad1bdf4e77
,
but I didn't notice that we have two attributes and expressions.
This commit is contained in:
parent
33919d25f0
commit
0c19bf4228
@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed '1i#include <ctime>' -i include/openbabel/obutil.h # gcc12
|
||||
'';
|
||||
|
||||
buildInputs = [ zlib libxml2 eigen python3 cairo pcre ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
Loading…
Reference in New Issue
Block a user