diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2024-02-13 12:33:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 12:33:50 -0500 |
commit | dd7b7a8f7b2943862403e40972e67823058f3525 (patch) | |
tree | 2d7369cd6a4526dde28d9a25eeb5b71f07e1ea5f /pkgs | |
parent | 1d0ac1bde8b5fb4fe3de8922b52f4f0549459819 (diff) | |
parent | 4de07c15155fa4bd5859e7c34c702244c787ebfa (diff) | |
download | nixlib-dd7b7a8f7b2943862403e40972e67823058f3525.tar nixlib-dd7b7a8f7b2943862403e40972e67823058f3525.tar.gz nixlib-dd7b7a8f7b2943862403e40972e67823058f3525.tar.bz2 nixlib-dd7b7a8f7b2943862403e40972e67823058f3525.tar.lz nixlib-dd7b7a8f7b2943862403e40972e67823058f3525.tar.xz nixlib-dd7b7a8f7b2943862403e40972e67823058f3525.tar.zst nixlib-dd7b7a8f7b2943862403e40972e67823058f3525.zip |
Merge pull request #288011 from trofi/urbackup-client-gcc-13-fix
urbackup-client: fix `gcc-13` build failure
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/backup/urbackup-client/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/backup/urbackup-client/default.nix b/pkgs/applications/backup/urbackup-client/default.nix index aa63a80c480d..ed5f59e2c41c 100644 --- a/pkgs/applications/backup/urbackup-client/default.nix +++ b/pkgs/applications/backup/urbackup-client/default.nix @@ -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"; |