Unverified Commit d33993d9 authored by Emily's avatar Emily Committed by GitHub
Browse files

heaptrack: add patch for GCC 14, unpin Boost (#358970)

parents 155a2f63 d2b95778
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
{
  lib, stdenv, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules, makeBinaryWrapper,
  zlib, boost179, libunwind, elfutils, sparsehash, zstd,
  lib, stdenv, mkDerivation, fetchFromGitHub, fetchpatch, cmake, extra-cmake-modules, makeBinaryWrapper,
  zlib, boost, libunwind, elfutils, sparsehash, zstd,
  qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
}:

@@ -15,9 +15,17 @@ mkDerivation rec {
    hash = "sha256-pP+s60ERnmOctYTe/vezCg0VYzziApNY0QaF3aTccZU=";
  };

  patches = [
    # cmake: Fix C compatibility of libunwind probes
    (fetchpatch {
      url = "https://invent.kde.org/sdk/heaptrack/-/commit/c6c45f3455a652c38aefa402aece5dafa492e8ab.patch";
      hash = "sha256-eou53UUQX+S7yrz2RS95GwkAnNIZY/aaze0eAdjnbPU=";
    })
  ];

  nativeBuildInputs = [ cmake extra-cmake-modules makeBinaryWrapper ];
  buildInputs = [
    zlib boost179 libunwind sparsehash zstd
    zlib boost libunwind sparsehash zstd
    qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram
  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
    elfutils