Commit aeb73914 authored by Emily's avatar Emily
Browse files

libebml: backport patch for CMake 4



Co-authored-by: default avatarK900 <me@0upti.me>
parent 2ffd7d91
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  pkg-config,
}:
@@ -17,6 +18,14 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-PIVBePTWceMgiENdaL9lvXIL/RQIrtg7l0OG2tO0SU8=";
  };

  patches = [
    (fetchpatch {
      name = "libebml-fix-cmake-4.patch";
      url = "https://github.com/Matroska-Org/libebml/commit/6725c5f0169981cb0bd2ee124fbf0d8ca30b762d.patch";
      hash = "sha256-q62EWnJmQzBtra1xL0N7rC4RARJZQ/HAVyorzvB7XFY=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config