public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyside6] rawhide: Fix build on i686
@ 2026-10-23 7:11 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-23 7:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pyside6
Branch : rawhide
Commit : be6d4e105d3317d9434fa86c21acc93394fd31d3
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2026-10-23T09:10:54+02:00
Stats : +22/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyside6/c/be6d4e105d3317d9434fa86c21acc93394fd31d3?branch=rawhide
Log:
Fix build on i686
---
diff --git a/0001-Fix-lookupEnum-on-32-bit.patch b/0001-Fix-lookupEnum-on-32-bit.patch
new file mode 100644
index 0000000..140c3d4
--- /dev/null
+++ b/0001-Fix-lookupEnum-on-32-bit.patch
@@ -0,0 +1,21 @@
+diff --git a/sources/shiboken6_generator/ApiExtractor/typesystemparser.cpp b/sources/shiboken6_generator/ApiExtractor/typesystemparser.cpp
+index 4356a43..e4ff3e9 100644
+--- a/sources/shiboken6_generator/ApiExtractor/typesystemparser.cpp
++++ b/sources/shiboken6_generator/ApiExtractor/typesystemparser.cpp
+@@ -43,6 +43,7 @@
+
+ #include <algorithm>
+ #include <array>
++#include <cstddef>
+ #include <optional>
+ #include <memory>
+
+@@ -197,7 +198,7 @@ struct EnumLookup
+ EnumType value;
+ };
+
+-template <Qt::CaseSensitivity cs, class EnumType, long unsigned N>
++template <Qt::CaseSensitivity cs, class EnumType, std::size_t N>
+ static std::optional<EnumType>
+ lookupEnum(const std::array<EnumLookup<EnumType>, N> &haystack, QStringView needle)
+ {
diff --git a/python-pyside6.spec b/python-pyside6.spec
index f9a1121..d906fe3 100644
--- a/python-pyside6.spec
+++ b/python-pyside6.spec
@@ -17,6 +17,7 @@ License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
URL: https://wiki.qt.io/Qt_for_Python
Source0: https://download.qt.io/official_releases/QtForPython/%{pypi_name}/%{camel_name}-%{qt6ver}-src/pyside-setup-everywhere-src-%{version}.tar.xz
+Patch0: 0001-Fix-lookupEnum-on-32-bit.patch
# for documentation generation
%global docs 0
%global qt_module qtbase
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 7:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 7:11 [rpms/python-pyside6] rawhide: Fix build on i686 Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox