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";