From 2bb01edcead1817e56893f48c368262fc995e33a Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Thu, 1 Jan 2026 15:26:53 +0100 Subject: [PATCH] kodiPackages.pvr-hts: fix GCC15 compat Signed-off-by: Florian Brandes --- pkgs/applications/video/kodi/addons/pvr-hts/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/video/kodi/addons/pvr-hts/default.nix b/pkgs/applications/video/kodi/addons/pvr-hts/default.nix index cb6d4b28f3b4..0c45ce30d546 100644 --- a/pkgs/applications/video/kodi/addons/pvr-hts/default.nix +++ b/pkgs/applications/video/kodi/addons/pvr-hts/default.nix @@ -3,6 +3,7 @@ rel, buildKodiBinaryAddon, fetchFromGitHub, + fetchpatch2, }: buildKodiBinaryAddon rec { pname = "pvr-hts"; @@ -16,6 +17,14 @@ buildKodiBinaryAddon rec { sha256 = "sha256-opxNgin+Sz/Nb9IGZ+OFrCzbDc4FXl2LaNKUu5LAgFM="; }; + patches = [ + # fix gcc-15 compat. See https://github.com/kodi-pvr/pvr.hts/pull/693 + (fetchpatch2 { + url = "https://github.com/kodi-pvr/pvr.hts/commit/b8fb7f6cbe9e3e9ea2737dc465a70fb4bb0951eb.patch?full_index=1"; + hash = "sha256-GgdEQUwwebQVjsEJAX9V7NRe954HCNMggNUcik8j+lU="; + }) + ]; + meta = { homepage = "https://github.com/kodi-pvr/pvr.hts"; description = "Kodi's Tvheadend HTSP client addon";