public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-drm-ffi] epel10: Backport fix for kernel header changes
@ 2026-09-25 10:34 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:34 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:34 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:34 [rpms/rust-drm-ffi] epel10: Backport fix for kernel header changes Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox