Unverified Commit 45206ebb authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

Merge pull request #273571 from bobby285271/upd/cinnamon-libxml2-fix

xed-editor: Backport libxml2 2.12 build fix
parents c23c5dae 336c61e2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, libxml2
, libpeas
, glib
@@ -28,6 +29,15 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-IpUBB7Viwc/nRfwzFllRiWoOmUxRZzS2BcxyM7W3oHI=";
  };

  patches = [
    # Fix missing include for libxml2 2.12
    # https://github.com/linuxmint/xed/pull/611
    (fetchpatch {
      url = "https://github.com/linuxmint/xed/commit/28cb2e8136c1bfe90faf5f2341bde66156990778.patch";
      hash = "sha256-AqIb7Jj19SF3tIriPwn1JeB7niCmPbBsLE4ch2AX7fk=";
    })
  ];

  nativeBuildInputs = [
    meson
    pkg-config