unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 0c7de64395fe5d39cfe744af0ddd82586532bc47 647 bytes (raw)
name: gnu/packages/patches/python-shiboken-2-compat.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
Provide a declaration that's missing in Python 3.10.

--- pyside-setup-opensource-src-5.15.8/sources/shiboken2/libshiboken/sbkpython.h	2023-04-19 23:14:11.415337435 +0200
+++ pyside-setup-opensource-src-5.15.8/sources/shiboken2/libshiboken/sbkpython.h	2023-04-19 23:18:09.055605606 +0200
@@ -108,6 +108,11 @@ extern "C" {
 #if PY_MAJOR_VERSION >= 3
     #define IS_PY3K
 
+extern "C" {
+  /* In Python 3.10 this declaration is not provided by <Python.h>.  */
+  extern PyObject* _Py_Mangle(PyObject *p, PyObject *name);
+}
+
     #define PyInt_Type PyLong_Type
     #define PyInt_Check PyLong_Check
     #define PyInt_CheckExact PyLong_CheckExact

debug log:

solving 0c7de64395 ...
found 0c7de64395 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).