libfyaml: cherry-pick fixes for 32-bit builds

This commit is contained in:
K900
2026-04-08 09:14:37 +03:00
parent 5efc57bb0a
commit b9451807bb
+13
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
pkg-config,
autoreconfHook,
testers,
@@ -18,6 +19,18 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-mRQQe+J5wtLt/bI/Wer9TVGdU3a1zp3zFCm4oNQON8M=";
};
# backport 32-bit build fixes
patches = [
(fetchpatch {
url = "https://github.com/pantoniou/libfyaml/commit/0982fcefc6a16d4c8cb5b06747d3fc8e630de3ae.diff";
hash = "sha256-aDubIn+et+1fWE7XU7a5AGZVacVFbAbC1PoSDrA6hXw=";
})
(fetchpatch {
url = "https://github.com/pantoniou/libfyaml/commit/9192deaac095f9881cc1e5756dede683f36b09d6.diff";
hash = "sha256-cNL9wQtxIRg/ShZLJP4qHYNFRrYo9kRG+/U+3FiUeaI=";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config