forked from pool/python-apsw
- Update to 3.28.0-r1:
* No changelog - Add patch to build with python 3.8: * python38.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
68ef39d040
commit
5f7d88c5e8
24
python38.patch
Normal file
24
python38.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
@@ -69,6 +69,9 @@ static void AddTraceBackHere(const char *filename, int lineno, const char *funct
|
||||
/* make the dummy code object */
|
||||
code = PyCode_New(
|
||||
0, /*int argcount,*/
|
||||
+#if PY_VERSION_HEX >= 0x030800A4
|
||||
+ 0, /*int posonlyargcount*/
|
||||
+#endif
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
0, /*int kwonlyargcount*/
|
||||
#endif
|
||||
Index: apsw-3.28.0-r1/src/traceback.c
|
||||
===================================================================
|
||||
--- apsw-3.28.0-r1.orig/src/traceback.c
|
||||
+++ apsw-3.28.0-r1/src/traceback.c
|
||||
@@ -69,6 +69,9 @@ static void AddTraceBackHere(const char
|
||||
/* make the dummy code object */
|
||||
code = PyCode_New(
|
||||
0, /*int argcount,*/
|
||||
+#if PY_VERSION_HEX >= 0x030800A4
|
||||
+ 0, /*int posonlyargcount*/
|
||||
+#endif
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
0, /*int kwonlyargcount*/
|
||||
#endif
|
||||
Reference in New Issue
Block a user