kvazaar: Fix build on FreeBSD (#384458)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
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 = [
|
||||
|
||||
Reference in New Issue
Block a user