diff options
| author | Kostadin Shishmanov <kocelfc@tutanota.com> | 2024-02-08 02:16:26 +0200 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2024-02-07 20:49:19 -0500 |
| commit | 2a56d48043c6de82dedb7dab9e618b77f435855e (patch) | |
| tree | 4cf81596893173d7bde2e594701e1d6fdf23abc2 /dev-python/PyQt5-sip/files/PyQt5-sip-12.13.0-c99.patch | |
| parent | 86d46664305d2c6deb51425e973a23f328423a57 (diff) | |
| download | gentoo-2a56d48043c6de82dedb7dab9e618b77f435855e.tar.gz gentoo-2a56d48043c6de82dedb7dab9e618b77f435855e.tar.bz2 gentoo-2a56d48043c6de82dedb7dab9e618b77f435855e.zip | |
dev-python/PyQt5-sip: Fix incompatible pointer types
Closes: https://bugs.gentoo.org/919000
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/35222
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/PyQt5-sip/files/PyQt5-sip-12.13.0-c99.patch')
| -rw-r--r-- | dev-python/PyQt5-sip/files/PyQt5-sip-12.13.0-c99.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/PyQt5-sip/files/PyQt5-sip-12.13.0-c99.patch b/dev-python/PyQt5-sip/files/PyQt5-sip-12.13.0-c99.patch new file mode 100644 index 000000000000..b1fd2470758c --- /dev/null +++ b/dev-python/PyQt5-sip/files/PyQt5-sip-12.13.0-c99.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/919000 +https://www.riverbankcomputing.com/hg/sip/rev/afc99fa84d0d + +diff --git a/siplib.c b/siplib.c +index 8b0a6d5..d996a9c 100644 +--- a/siplib.c ++++ b/siplib.c +@@ -3902,7 +3902,7 @@ static int parsePass1(PyObject **parseErrp, sipSimpleWrapper **selfp, + { + case '#': + /* A ctor has an argument with the /Transfer/ annotation. */ +- *selfp = va_arg(va, PyObject *); ++ *selfp = (sipSimpleWrapper *) va_arg(va, PyObject *); + break; + + case 'B': |
