[staging-next] xmlrpc_c: fix build with gcc 15 (#474525)
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user