public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyside6] rawhide: Fix build on i686
Date: Fri, 23 Oct 2026 07:11:06 GMT	[thread overview]
Message-ID: <179273946625.1.17372569092680609659.rpms-python-pyside6-be6d4e105d33@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-23  7:11 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=179273946625.1.17372569092680609659.rpms-python-pyside6-be6d4e105d33@fedoraproject.org \
    --to=jgrulich@redhat.com \
    --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