public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rtorrent] rawhide: fix added to pass tests - src/core/download_list.h uses uint32_t without <cstdint>
@ 2026-11-01  3:52 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-01  3:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rtorrent
Branch : rawhide
Commit : 7826bdc69077697bf7fd21dbd68e10740ef218a7
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-10-22T18:48:34-03:00
Stats  : +13/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rtorrent/c/7826bdc69077697bf7fd21dbd68e10740ef218a7?branch=rawhide

Log:
fix added to pass tests - src/core/download_list.h uses uint32_t without <cstdint>

---
diff --git a/cstdint-download_list.patch b/cstdint-download_list.patch
new file mode 100644
index 0000000..5564b1b
--- /dev/null
+++ b/cstdint-download_list.patch
@@ -0,0 +1,10 @@
+--- a/src/core/download_list.h	2026-10-22 18:40:18.849180694 -0300
++++ b/src/core/download_list.h	2026-10-22 18:40:18.841347694 -0300
+@@ -3,6 +3,7 @@
+ 
+ #include <iosfwd>
+ #include <list>
++#include <cstdint>
+ #include <memory>
+ #include <string>
+ 

diff --git a/rtorrent.spec b/rtorrent.spec
index 6ca5239..ef78f3a 100644
--- a/rtorrent.spec
+++ b/rtorrent.spec
@@ -12,6 +12,8 @@ URL:              %{forgeurl}
 Source0:          %{forgeurl}/releases/download/v%{version}/rtorrent-%{version}.tar.gz
 Source1:          rtorrent.1
 
+Patch0:           cstdint-download_list.patch
+
 BuildRequires:    cppunit-devel
 BuildRequires:    gcc-c++
 BuildRequires:    libsigc++20-devel
@@ -30,7 +32,7 @@ saving of sessions and allows the user to add and remove torrents and scanning
 of directories for torrent files to seed and/or download.
 
 %prep
-%autosetup -p0
+%autosetup -p1
 for file in AUTHORS README.md doc/rtorrent.rc COPYING
 do
     chmod -x "$file"

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

only message in thread, other threads:[~2026-11-01  3:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01  3:52 [rpms/rtorrent] rawhide: fix added to pass tests - src/core/download_list.h uses uint32_t without <cstdint> Filipe Rosset

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