about summary refs log tree commit diff
path: root/pkgs/applications/audio/ardour
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2024-01-07 13:32:06 +0100
committerJan Tojnar <jtojnar@gmail.com>2024-01-07 13:32:06 +0100
commit46e37708bcd2eb6b8aeefe88044ba9a7b22e7cb2 (patch)
tree4dada7ddf48bb34219952c2d73dcfc79a1b3c7f0 /pkgs/applications/audio/ardour
parent9f9655094523a0049eb426b7e2da224283b1740a (diff)
ardour_7: Fix build with libxml2 2.12.0
Diffstat (limited to 'pkgs/applications/audio/ardour')
-rw-r--r--pkgs/applications/audio/ardour/7.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ardour/7.nix b/pkgs/applications/audio/ardour/7.nix
index ab9b2ebcd9619..86a50ef0606e2 100644
--- a/pkgs/applications/audio/ardour/7.nix
+++ b/pkgs/applications/audio/ardour/7.nix
@@ -2,6 +2,7 @@
 , stdenv
 , fetchgit
 , fetchzip
+, fetchpatch
 , alsa-lib
 , aubio
 , boost
@@ -79,6 +80,12 @@ stdenv.mkDerivation rec {
     # AS=as in the environment causes build failure https://tracker.ardour.org/view.php?id=8096
     ./as-flags.patch
     ./default-plugin-search-paths.patch
+
+    # Fix build with libxml2 2.12.
+    (fetchpatch {
+      url = "https://github.com/Ardour/ardour/commit/e995daa37529715214c6c4a2587e4134aaaba02f.patch";
+      hash = "sha256-EpXOIIObOwwcNgNma0E3nvaBad3930sagDjBpa+78WI=";
+    })
   ];
 
   # Ardour's wscript requires git revision and date to be available.