aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/patches/fix-build.patch
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/tools/python3/patches/fix-build.patch
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/tools/python3/patches/fix-build.patch')
-rw-r--r--contrib/tools/python3/patches/fix-build.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/tools/python3/patches/fix-build.patch b/contrib/tools/python3/patches/fix-build.patch
new file mode 100644
index 0000000000..573eebb467
--- /dev/null
+++ b/contrib/tools/python3/patches/fix-build.patch
@@ -0,0 +1,17 @@
+commit 9b726d183d9b023f472f788f4e87136eaee3edf8
+author: shadchin
+date: 2023-01-09T20:49:50+03:00
+
+ Fix devtools/dummy_arcadia/test/system_python
+
+--- contrib/tools/python3/Include/cpython/pythread.h (a09217b707768f106bfed2d616636b38cfce2f13)
++++ contrib/tools/python3/Include/cpython/pythread.h (9b726d183d9b023f472f788f4e87136eaee3edf8)
+@@ -21,7 +21,7 @@ PyAPI_FUNC(int) _PyThread_at_fork_reinit(PyThread_type_lock *lock);
+ */
+ # define NATIVE_TSS_KEY_T unsigned long
+ #elif defined(HAVE_PTHREAD_STUBS)
+-# include "cpython/pthread_stubs.h"
++#error # include "cpython/pthread_stubs.h"
+ # define NATIVE_TSS_KEY_T pthread_key_t
+ #else
+ # error "Require native threads. See https://bugs.python.org/issue31370"