openbabel2: fixup build with gcc12

This is actually the one I wanted to fix in commit ad1bdf4e77f6,
but I didn't notice that we have two attributes and expressions.

+4
+4
pkgs/development/libraries/openbabel/2.nix
··· 19 }) 20 ]; 21 22 buildInputs = [ zlib libxml2 eigen python3 cairo pcre ]; 23 24 nativeBuildInputs = [ cmake pkg-config ];
··· 19 }) 20 ]; 21 22 + postPatch = '' 23 + sed '1i#include <ctime>' -i include/openbabel/obutil.h # gcc12 24 + ''; 25 + 26 buildInputs = [ zlib libxml2 eigen python3 cairo pcre ]; 27 28 nativeBuildInputs = [ cmake pkg-config ];