Benjamin Greiner
9e40608a72
- Add patch to fix build with GCC14 (boo#1221016) - Switch to %autosetup OBS-URL: https://build.opensuse.org/request/show/1155819 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-qt5-sip?expand=0&rev=11
19 lines
658 B
Diff
19 lines
658 B
Diff
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':
|