public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-glib] epel10: Fix typecheck issues on non-x86 architectures
@ 2026-09-25 10:36 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-glib
Branch : epel10
Commit : 83ce9ce04300072e6261a753c3322aa1246c0655
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2021-08-23T12:56:07+02:00
Stats : +16/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-glib/c/83ce9ce04300072e6261a753c3322aa1246c0655?branch=epel10
Log:
Fix typecheck issues on non-x86 architectures
---
diff --git a/0001-fix-typecheck-on-non-x86.patch b/0001-fix-typecheck-on-non-x86.patch
new file mode 100644
index 0000000..fca7616
--- /dev/null
+++ b/0001-fix-typecheck-on-non-x86.patch
@@ -0,0 +1,13 @@
+diff --git a/src/variant_iter.rs b/src/variant_iter.rs
+index b543f7a..f1b3121 100644
+--- a/src/variant_iter.rs
++++ b/src/variant_iter.rs
+@@ -85,7 +85,7 @@ impl<'a> VariantStrIter<'a> {
+ ffi::g_variant_get_child(
+ self.variant.to_glib_none().0,
+ i,
+- s as *const u8 as *const i8,
++ s as *const u8 as *const _,
+ &p,
+ std::ptr::null::<i8>(),
+ );
diff --git a/rust-glib.spec b/rust-glib.spec
index 578fbb2..78976a0 100644
--- a/rust-glib.spec
+++ b/rust-glib.spec
@@ -13,6 +13,9 @@ Summary: Rust bindings for the GLib library
License: MIT
URL: https://crates.io/crates/glib
Source: %{crates_source}
+# * fix typecheck issues on non-x86 architectures
+# https://github.com/gtk-rs/gtk-rs-core/pull/245
+Patch1: 0001-fix-typecheck-on-non-x86.patch
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:36 [rpms/rust-glib] epel10: Fix typecheck issues on non-x86 architectures Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox