[staging-next] xmlrpc_c: fix build with gcc 15 (#474525)

This commit is contained in:
Bjørn Forsman
2025-12-27 10:12:14 +00:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchDebianPatch,
pkg-config,
curl,
libxml2,
@@ -16,6 +17,15 @@ stdenv.mkDerivation rec {
hash = "sha256-Z9hgBiRZ6ieEwHtNeRMxnZU5+nKfU0N46OQciRjyrfY=";
};
patches = [
(fetchDebianPatch {
inherit pname version;
debianRevision = "1";
patch = "fix-gcc15-build.patch";
hash = "sha256-VcjXzzruDBuDarqhgNDHOtLxz2vlBrUAylILfMEGPmA=";
})
];
postPatch = ''
rm -rf lib/expat
'';