mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 17:44:44 +00:00
Merge pull request #287601 from trofi/stp-gcc-13-fix
stp: fix the build against `gcc-13`
This commit is contained in:
commit
46a93d0751
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1yg2v4wmswh1sigk47drwsxyayr472mf4i47lqmlcgn9hhbx1q87";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Upstream fix for gcc-13 support:
|
||||
# https://github.com/stp/stp/pull/462
|
||||
# Can't apply it as is as patch context changed in ither patches.
|
||||
# TODO: remove me on 2.4 release
|
||||
sed -e '1i #include <cstdint>' -i include/stp/AST/ASTNode.h
|
||||
'';
|
||||
|
||||
buildInputs = [ boost zlib minisat cryptominisat python3 ];
|
||||
nativeBuildInputs = [ cmake bison flex perl ];
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user