Sync from SUSE:SLFO:Main python-qt5-sip revision 8ed131d4071130245573071c3bfe6d3e
This commit is contained in:
parent
d2a60ad893
commit
8f3523eb39
18
fix-build-gcc14.patch
Normal file
18
fix-build-gcc14.patch
Normal file
@ -0,0 +1,18 @@
|
||||
From: Phil Thompson <phil@riverbankcomputing.com>
|
||||
Date: Mon, 4 Dec 2023 11:54:31 +0000
|
||||
Subject: [PATCH] Removed a warning message (soon to be an error message) in
|
||||
the v12 module.
|
||||
|
||||
Index: PyQt5_sip-12.13.0/siplib.c
|
||||
===================================================================
|
||||
--- PyQt5_sip-12.13.0.orig/siplib.c
|
||||
+++ PyQt5_sip-12.13.0/siplib.c
|
||||
@@ -3902,7 +3902,7 @@ static int parsePass1(PyObject **parseEr
|
||||
{
|
||||
case '#':
|
||||
/* A ctor has an argument with the /Transfer/ annotation. */
|
||||
- *selfp = va_arg(va, PyObject *);
|
||||
+ *selfp = (sipSimpleWrapper *)va_arg(va, PyObject *);
|
||||
break;
|
||||
|
||||
case 'B':
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 07:49:00 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Add fix-build-gcc14.patch to fix build with GCC14 (boo#1221016)
|
||||
- Switch to %autosetup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 15 13:56:21 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -25,7 +25,8 @@ Summary: The sip module support for PyQt5
|
||||
URL: https://www.riverbankcomputing.com/software/sip/
|
||||
Group: Development/Languages/Python
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyQt5-sip/PyQt5_sip-%{version}.tar.gz
|
||||
Patch0: support-python3.6.patch
|
||||
Patch0: fix-build-gcc14.patch
|
||||
Patch100: support-python3.6.patch
|
||||
BuildRequires: %{python_module devel >= 3.6}
|
||||
BuildRequires: %{python_module setuptools >= 30.3}
|
||||
BuildRequires: fdupes
|
||||
@ -44,8 +45,7 @@ bindings for any C or C++ library. For example, it is also used to
|
||||
create wxPython, the Python bindings for the wxWidget toolkit.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyQt5_sip-%{version}
|
||||
%patch0 -p1
|
||||
%autosetup -p1 -n PyQt5_sip-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
Reference in New Issue
Block a user