Merge pull request #287974 from trofi/stenc-gcc-13-fix

stenc: fix `gcc-13` build failure

authored by Nick Cao and committed by GitHub f6ab9624 38afef50

+7
+7
pkgs/tools/backup/stenc/default.nix
··· 16 16 sha256 = "GcCRVkv+1mREq3MhMRn5fICthwI4WRQJSP6InuzxP1Q="; 17 17 }; 18 18 19 + postPatch = '' 20 + # Fix gcc-13 build by pulling missing header. UPstream also fixed it 21 + # in next major version, but there are many other patch dependencies. 22 + # TODO: remove on next major version update 23 + sed -e '1i #include <cstdint>' -i src/scsiencrypt.h 24 + ''; 25 + 19 26 nativeBuildInputs = [ autoreconfHook ]; 20 27 21 28 passthru.updateScript = gitUpdater { };