Merge pull request #288011 from trofi/urbackup-client-gcc-13-fix

urbackup-client: fix `gcc-13` build failure
This commit is contained in:
Mario Rodas 2024-02-13 12:33:50 -05:00 committed by GitHub
commit dd7b7a8f7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-n0/NVClZz6ANgEdPCtdZxsEvllIl32vwDjC2nq5R8Z4=";
};
postPatch = ''
find | fgrep crc.cpp
# Fix gcc-13 build failures due to missing includes
sed -e '1i #include <cstdint>' -i \
blockalign_src/crc.cpp
'';
buildInputs = [
wxGTK32
zlib
@ -25,6 +32,8 @@ stdenv.mkDerivation rec {
"--enable-embedded-cryptopp"
];
enableParallelBuilding = true;
meta = with lib; {
description = "An easy to setup Open Source client/server backup system";
longDescription = "An easy to setup Open Source client/server backup system, that through a combination of image and file backups accomplishes both data safety and a fast restoration time";