git: 917ab14124a2 - main - net-p2p/rtorrent: Unbreak i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jun 2026 21:11:42 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=917ab14124a2b24719118d3986b76cec54b9fdae
commit 917ab14124a2b24719118d3986b76cec54b9fdae
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-06-30 21:07:56 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-06-30 21:11:29 +0000
net-p2p/rtorrent: Unbreak i386
See also: https://github.com/rakshasa/rtorrent/issues/1859
---
net-p2p/rtorrent/files/patch-Fix-i386 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/net-p2p/rtorrent/files/patch-Fix-i386 b/net-p2p/rtorrent/files/patch-Fix-i386
new file mode 100644
index 000000000000..de47190588b4
--- /dev/null
+++ b/net-p2p/rtorrent/files/patch-Fix-i386
@@ -0,0 +1,17 @@
+https://github.com/rakshasa/rtorrent/issues/1859
+
+--- src/rpc/command.h.orig 2026-06-30 20:49:08 UTC
++++ src/rpc/command.h
+@@ -169,8 +169,10 @@ class command_base { (public)
+ template <typename T>
+ void set_function(T s, [[maybe_unused]] int value = command_base_is_valid<T>::value) {
+ static_assert(sizeof(T) <= sizeof(t_pod), "t_pod storage overflow");
+- static_assert(alignof(std::max_align_t) % alignof(T) == 0, "t_pod alignment insufficient for type");
+- static_assert(alignof(std::max_align_t) >= alignof(T), "t_pod structural capacity mismatch");
++ #if !defined(__i386__)
++ static_assert(alignof(std::max_align_t) % alignof(T) == 0, "t_pod alignment insufficient for type");
++ static_assert(alignof(std::max_align_t) >= alignof(T), "t_pod structural capacity mismatch");
++ #endif
+
+ if (m_dest_helper)
+ m_dest_helper(t_pod);