public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rr] epel10.3: Fix rawhide FTBFS. (rhbz#2341291)
@ 2026-11-10 21:34 William Cohen
  0 siblings, 0 replies; only message in thread
From: William Cohen @ 2026-11-10 21:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rr
Branch : epel10.3
Commit : a93305d0ca8c5698c5944e487c78ea29ae544f99
Author : William Cohen <wcohen@redhat.com>
Date   : 2025-01-23T11:17:42-05:00
Stats  : +24/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rr/c/a93305d0ca8c5698c5944e487c78ea29ae544f99?branch=epel10.3

Log:
Fix rawhide FTBFS. (rhbz#2341291)

---
diff --git a/rr-gcc15.patch b/rr-gcc15.patch
new file mode 100644
index 0000000..dfd6734
--- /dev/null
+++ b/rr-gcc15.patch
@@ -0,0 +1,19 @@
+diff -up rr-5.8.0/src/test/sched_attr.c.orig rr-5.8.0/src/test/sched_attr.c
+--- rr-5.8.0/src/test/sched_attr.c.orig	2025-01-23 08:05:49.358501077 -0500
++++ rr-5.8.0/src/test/sched_attr.c	2025-01-23 08:06:01.627561344 -0500
+@@ -2,6 +2,7 @@
+ 
+ #include "util.h"
+ 
++#if 0
+ struct sched_attr {
+   uint32_t size;
+   uint32_t sched_policy;
+@@ -12,6 +13,7 @@ struct sched_attr {
+   uint64_t sched_deadline;
+   uint64_t sched_period;
+ };
++#endif
+ 
+ int main(void) {
+   struct sched_attr* attr;

diff --git a/rr.spec b/rr.spec
index 7241113..6482822 100644
--- a/rr.spec
+++ b/rr.spec
@@ -4,7 +4,7 @@
 %global commit da33770d22b404d7333e46e26495eaca0c5a6d8a
 %global gittag 5.8.0
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global baserelease 4
+%global baserelease 5
 
 ExclusiveArch:  %{ix86} x86_64 aarch64
 
@@ -27,6 +27,7 @@ License:        LicenseRef-Callaway-MIT AND CC0-1.0 AND LicenseRef-Callaway-BSD
 URL:            http://rr-project.org
 
 Source: https://github.com/rr-debugger/rr/archive/%{gittag}/%{name}-%{version}.tar.gz
+Patch1: rr-gcc15.patch
 
 %if  0%{?rhel} == 7
 BuildRequires: cmake3
@@ -125,6 +126,9 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
 %license LICENSE
 
 %changelog
+* Thu Jan 23 2025 William Cohen <wcohen@redhat.com> - 5.8.0-5
+- Fix FTBFS issue with gcc-15.
+
 * Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-10 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 21:34 [rpms/rr] epel10.3: Fix rawhide FTBFS. (rhbz#2341291) William Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox