Unverified Commit dd7b7a8f authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

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

urbackup-client: fix `gcc-13` build failure
parents 1d0ac1bd 4de07c15
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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";