From 91fa6f5d27882779c60ece4fe6261c2a85b24691 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 17 Feb 2022 10:03:06 -0800 Subject: [PATCH] Fix build on i686 Signed-off-by: Michel Alexandre Salim --- rust-fb_procfs.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust-fb_procfs.spec b/rust-fb_procfs.spec index 68dc192..e61bdc6 100644 --- a/rust-fb_procfs.spec +++ b/rust-fb_procfs.spec @@ -13,6 +13,8 @@ Summary: Crate for reading procfs License: ASL 2.0 URL: https://crates.io/crates/fb_procfs Source: %{crates_source} +# explicit cast for statvfs blocks(), needed on non-64bit arches +Patch: %{crate}-fix-32bit.patch ExclusiveArch: %{rust_arches}