Merge pull request #287601 from trofi/stp-gcc-13-fix

stp: fix the build against `gcc-13`

authored by Mario Rodas and committed by GitHub 46a93d07 d314410c

+8
+8
pkgs/applications/science/logic/stp/default.nix
··· 12 12 sha256 = "1yg2v4wmswh1sigk47drwsxyayr472mf4i47lqmlcgn9hhbx1q87"; 13 13 }; 14 14 15 + postPatch = '' 16 + # Upstream fix for gcc-13 support: 17 + # https://github.com/stp/stp/pull/462 18 + # Can't apply it as is as patch context changed in ither patches. 19 + # TODO: remove me on 2.4 release 20 + sed -e '1i #include <cstdint>' -i include/stp/AST/ASTNode.h 21 + ''; 22 + 15 23 buildInputs = [ boost zlib minisat cryptominisat python3 ]; 16 24 nativeBuildInputs = [ cmake bison flex perl ]; 17 25 preConfigure = ''