public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-glib] epel10: Fix typecheck issues on non-x86 architectures
Date: Fri, 25 Sep 2026 10:36:56 GMT	[thread overview]
Message-ID: <179033261648.1.8466405332694182622.rpms-rust-glib-83ce9ce04300@fedoraproject.org> (raw)

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}

                 reply	other threads:[~2026-09-25 10:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179033261648.1.8466405332694182622.rpms-rust-glib-83ce9ce04300@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox