Unverified Commit e3412284 authored by Rick van Schijndel's avatar Rick van Schijndel Committed by GitHub
Browse files

knot-resolver_5: fix tests with cmocka 2 (#478538)

parents 312f978c 5b18de7d
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchurl,
  fetchpatch,
  # native deps.
  runCommand,
  pkg-config,
@@ -47,6 +48,15 @@ let
      "dev"
    ];

    patches = [
      (fetchpatch {
        # https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1772
        url = "https://gitlab.nic.cz/knot/knot-resolver/-/commit/f4eaf8e69cc9839f68b613d0be10103e05c57fe9.patch";
        hash = "sha256-u/YQ85Jb5OxV8G3HeVPQUw0cmA+TLIDPze9mreqJGL4=";
        excludes = [ "daemon/ratelimiting.test/tests.inc.c" ];
      })
    ];

    # Path fixups for the NixOS service.
    postPatch = ''
      patch meson.build <<EOF