diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2023-12-10 15:12:47 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2023-12-24 14:18:19 +0100 |
commit | 00ca7e6020df8ee31c9e573b8ec99bc4feb5e3a8 (patch) | |
tree | 6db9063093f47f292ed6bfc7782c4188db153c84 /pkgs/development/libraries/libmusicbrainz | |
parent | b409d2549fe27e6f2dad0f6d02aced73d91604ce (diff) |
libmusicbrainz5: Fix build with libxml2 2.12
Diffstat (limited to 'pkgs/development/libraries/libmusicbrainz')
-rw-r--r-- | pkgs/development/libraries/libmusicbrainz/5.x.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libmusicbrainz/5.x.nix b/pkgs/development/libraries/libmusicbrainz/5.x.nix index 3e7a2f1a0ba01..14a6cc16c8371 100644 --- a/pkgs/development/libraries/libmusicbrainz/5.x.nix +++ b/pkgs/development/libraries/libmusicbrainz/5.x.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkg-config }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, neon, libdiscid, libxml2, pkg-config }: stdenv.mkDerivation rec { version = "5.1.0"; @@ -14,6 +14,18 @@ stdenv.mkDerivation rec { rev = "release-${version}"; }; + patches = [ + # Fix build with libxml2 2.12 + (fetchpatch { + url = "https://github.com/metabrainz/libmusicbrainz/commit/9ba00067a15479a52262a5126bcb6889da5884b7.patch"; + hash = "sha256-4VxTohLpjUNnNZGIoRpBjUz71mLP3blg4oFL7itnJnY="; + }) + (fetchpatch { + url = "https://github.com/metabrainz/libmusicbrainz/commit/558c9ba0e6d702d5c877f75be98176f57abf1b02.patch"; + hash = "sha256-hKYY4BJLh/Real3NugLwzc4gPBQ3NB/F63iI/aV8Wh8="; + }) + ]; + dontUseCmakeBuildDir=true; meta = with lib; { |