diff --git a/pkgs/by-name/li/libexsid/package.nix b/pkgs/by-name/li/libexsid/package.nix index d4ce696e2858..c9c59508ca0b 100644 --- a/pkgs/by-name/li/libexsid/package.nix +++ b/pkgs/by-name/li/libexsid/package.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitHub, + fetchpatch, autoreconfHook, pkg-config, docSupport ? true, @@ -20,6 +21,14 @@ stdenv.mkDerivation rec { sha256 = "1qbiri549fma8c72nmj3cpz3sn1vc256kfafnygkmkzg7wdmgi7r"; }; + patches = [ + # fix build with GCC 15 by removing unneeded argument + (fetchpatch { + url = "https://github.com/libsidplayfp/exsid-driver/commit/99bfaf25f73f96d588a38a4309fa5f18c364f4d4.patch"; + hash = "sha256-wg/oJieejyXiP5Ff9FRfACNELUt5021kXS1/zT7dMgA="; + }) + ]; + outputs = [ "out" ] ++ lib.optional docSupport "doc"; nativeBuildInputs = [