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-drm-ffi] epel10: Backport fix for kernel header changes
Date: Fri, 25 Sep 2026 10:34:45 GMT [thread overview]
Message-ID: <179033248585.1.11283426132684065071.rpms-rust-drm-ffi-364105f4ea46@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-drm-ffi
Branch : epel10
Commit : 364105f4ea46548059f65a2112c35d8c33eddcc4
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2025-08-18T14:34:17+02:00
Stats : +34/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-drm-ffi/c/364105f4ea46548059f65a2112c35d8c33eddcc4?branch=epel10
Log:
Backport fix for kernel header changes
---
diff --git a/0001-Backport-fix-for-kernel-header-changes.patch b/0001-Backport-fix-for-kernel-header-changes.patch
new file mode 100644
index 0000000..20d733f
--- /dev/null
+++ b/0001-Backport-fix-for-kernel-header-changes.patch
@@ -0,0 +1,32 @@
+From 53ad33bc6fec6a04f9ddecfafb2b7b34ef4cb0a1 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Mon, 18 Aug 2025 14:31:01 +0200
+Subject: [PATCH] Backport fix for kernel header changes
+
+---
+ src/syncobj.rs | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/syncobj.rs b/src/syncobj.rs
+index 5334944..1310e78 100644
+--- a/src/syncobj.rs
++++ b/src/syncobj.rs
+@@ -54,6 +54,7 @@ pub fn handle_to_fd(
+ },
+ fd: 0,
+ pad: 0,
++ point: 0, // TODO: Add support for TIMELINE sync files
+ };
+
+ unsafe {
+@@ -78,6 +79,7 @@ pub fn fd_to_handle(
+ },
+ fd: syncobj_fd.as_raw_fd(),
+ pad: 0,
++ point: 0, // TODO: Add support for TIMELINE sync files
+ };
+
+ unsafe {
+--
+2.50.1
+
diff --git a/README.md b/README.md
deleted file mode 100644
index 86aec6d..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-drm-ffi
-
-The rust-drm-ffi package
diff --git a/rust-drm-ffi.spec b/rust-drm-ffi.spec
index 761a1cc..5281ae1 100644
--- a/rust-drm-ffi.spec
+++ b/rust-drm-ffi.spec
@@ -15,6 +15,8 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * regenerate bindings by default
Patch: drm-ffi-fix-metadata.diff
+# * https://github.com/Smithay/drm-rs/commit/4a1c10f
+Patch: 0001-Backport-fix-for-kernel-header-changes.patch
BuildRequires: cargo-rpm-macros >= 24
reply other threads:[~2026-09-25 10:34 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=179033248585.1.11283426132684065071.rpms-rust-drm-ffi-364105f4ea46@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