about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-02-13 12:33:50 -0500
committerGitHub <noreply@github.com>2024-02-13 12:33:50 -0500
commitdd7b7a8f7b2943862403e40972e67823058f3525 (patch)
tree2d7369cd6a4526dde28d9a25eeb5b71f07e1ea5f /pkgs
parent1d0ac1bde8b5fb4fe3de8922b52f4f0549459819 (diff)
parent4de07c15155fa4bd5859e7c34c702244c787ebfa (diff)
downloadnixlib-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.nix9
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";