Commit cdd175ca authored by Audrey Dutcher's avatar Audrey Dutcher
Browse files

kvazaar: Fix build on FreeBSD

parent fdb7b982
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchpatch,
  fetchFromGitHub,
  gitUpdater,
  testers,
@@ -18,6 +19,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-d/OkX18nyHSQXJgNhBtiCLb/Fe8Y/MpddXxLpNMZiXI=";
  };

  # https://github.com/ultravideo/kvazaar/pull/426
  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail 'NOT LINUX' 'NOT LINUX AND NOT BSD'
  '';

  nativeBuildInputs = [ cmake ];

  outputs = [