From ba16255219a22cb6671ffdba15c8d7f51dec0034 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 25 Jun 2025 04:32:31 +0200 Subject: [PATCH] nginxModules.vod: fix libxml 2.14 compat The recovery attribute of the struct has been made deprecated. --- pkgs/servers/http/nginx/modules.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index b9dd155780cd..12cdebef87ab 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -1026,10 +1026,12 @@ let owner = "kaltura"; repo = "nginx-vod-module"; rev = "1.33"; - hash = "sha256-xcdbaogJV/vSzFfP55uK2+zw3zF5j9AHaJI0QItTSss="; + hash = "sha256-pForXU1VBxa4F3F7xK+DJtMKC4wgcykJImlQjxz5GnE="; postFetch = '' substituteInPlace $out/vod/media_set.h \ --replace "MAX_CLIPS (128)" "MAX_CLIPS (1024)" + substituteInPlace $out/vod/subtitle/dfxp_format.c \ + --replace-fail '(!ctxt->wellFormed && !ctxt->recovery))' '!ctxt->wellFormed)' ''; };