public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-drm-ffi] epel10: Update to 0.7.1; Fixes: RHBZ#2240195
Date: Fri, 25 Sep 2026 10:34:42 GMT	[thread overview]
Message-ID: <179033248234.1.16917360570579109957.rpms-rust-drm-ffi-3c8597d43004@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-drm-ffi
Branch : epel10
Commit : 3c8597d4300479ad30fdc5fb508fb12e0c215e23
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2024-01-19T08:02:36-08:00
Stats  : +40/-11 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-drm-ffi/c/3c8597d4300479ad30fdc5fb508fb12e0c215e23?branch=epel10

Log:
Update to 0.7.1; Fixes: RHBZ#2240195

---
diff --git a/.gitignore b/.gitignore
index dee0ed4..fd142f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /drm-ffi-0.5.0.crate
+/drm-ffi-0.7.1.crate

diff --git a/drm-ffi-deadline-nsec.patch b/drm-ffi-deadline-nsec.patch
new file mode 100644
index 0000000..1220339
--- /dev/null
+++ b/drm-ffi-deadline-nsec.patch
@@ -0,0 +1,20 @@
+diff --git a/src/syncobj.rs b/src/syncobj.rs
+index 6cb45a9..cc9863e 100644
+--- a/src/syncobj.rs
++++ b/src/syncobj.rs
+@@ -110,6 +110,7 @@ pub fn wait(
+         },
+         first_signaled: 0,
+         pad: 0,
++        deadline_nsec: 0,
+     };
+ 
+     unsafe {
+@@ -181,6 +182,7 @@ pub fn timeline_wait(
+         },
+         first_signaled: 0,
+         pad: 0,
++        deadline_nsec: 0,
+     };
+ 
+     unsafe {

diff --git a/drm-ffi-fix-metadata.diff b/drm-ffi-fix-metadata.diff
new file mode 100644
index 0000000..391a18c
--- /dev/null
+++ b/drm-ffi-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- drm-ffi-0.7.1/Cargo.toml	1970-01-01T00:00:01+00:00
++++ drm-ffi-0.7.1/Cargo.toml	2024-01-18T04:45:00.631987+00:00
+@@ -26,4 +26,5 @@
+ version = "0.38.22"
+ 
+ [features]
++default = ["use_bindgen"]
+ use_bindgen = ["drm-sys/use_bindgen"]

diff --git a/rust-drm-ffi.spec b/rust-drm-ffi.spec
index 4120a72..bcece1f 100644
--- a/rust-drm-ffi.spec
+++ b/rust-drm-ffi.spec
@@ -1,24 +1,25 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
 %bcond_without check
 %global debug_package %{nil}
 
 %global crate drm-ffi
 
 Name:           rust-drm-ffi
-Version:        0.5.0
+Version:        0.7.1
 Release:        %autorelease
 Summary:        Safe, low-level bindings to the Direct Rendering Manager API
 
 License:        MIT
 URL:            https://crates.io/crates/drm-ffi
 Source:         %{crates_source}
-# https://github.com/Smithay/drm-rs/pull/152
-Source:         https://github.com/Smithay/drm-rs/raw/v0.9.0/LICENSE
+# Manually created patch for downstream crate metadata changes
+# * regenerate bindings by default
+Patch:          drm-ffi-fix-metadata.diff
+# ffi: fix build with libdrm 2.4.120
+# https://github.com/Smithay/drm-rs/pull/189
+Patch:          drm-ffi-deadline-nsec.patch
 
-BuildRequires:  rust-packaging >= 21
-
-# No prebuilt bindings for target architecture
-ExcludeArch:    ppc64le s390x
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Safe, low-level bindings to the Direct Rendering Manager API.}
@@ -63,8 +64,7 @@ use the "use_bindgen" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp -p %SOURCE1 .
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires

diff --git a/sources b/sources
index 8f05e47..f378aac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (drm-ffi-0.5.0.crate) = 3200723e0ebdcf86008115dfade86c06438ee27417dab53e9f18bc06047e048650f4ddfb2ab5eea9fbb27739dec2355e3c0e391c6c305f3dce74d221f5558b41
+SHA512 (drm-ffi-0.7.1.crate) = 7ca4cb8ee1adae381b51a39b6aa902342f3a42c5d98a27d615c52ff5a33872d16e0605ca65b068b8d06e8858d4e6f61102417476b1f4e692ced6a26e62b62047

                 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=179033248234.1.16917360570579109957.rpms-rust-drm-ffi-3c8597d43004@fedoraproject.org \
    --to=dcavalca@fedoraproject.org \
    --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