mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #288011 from trofi/urbackup-client-gcc-13-fix
urbackup-client: fix `gcc-13` build failure
This commit is contained in:
commit
dd7b7a8f7b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user