libexsid: fix build with gcc 15 (#473521)

This commit is contained in:
Fabián Heredia Montiel
2025-12-23 15:43:11 +00:00
committed by GitHub
+9
View File
@@ -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 = [