kivy-ios/kivy_ios/recipes/python3/posixmodule.patch

32 lines
832 B
Diff
Raw Permalink Normal View History

diff -Naur Python-3.8.2.orig/Modules/posixmodule.c Python-3.8.2/Modules/posixmodule.c
--- Python-3.8.2.orig/Modules/posixmodule.c 2020-04-12 00:11:47.000000000 +0200
+++ Python-3.8.2/Modules/posixmodule.c 2020-04-12 00:13:21.000000000 +0200
@@ -216,6 +216,27 @@
#endif /* _MSC_VER */
#endif /* ! __WATCOMC__ || __QNX__ */
+// iOS
+#undef HAVE_EXECV
+#undef HAVE_FORK
+#undef HAVE_FORK1
+#undef HAVE_FORKPTY
+#undef HAVE_GETGROUPS
+#undef HAVE_SCHED_H
+#undef HAVE_SENDFILE
+#undef HAVE_SETPRIORITY
+#undef HAVE_SPAWNV
+#undef HAVE_WAIT
+#undef HAVE_WAIT3
+#undef HAVE_WAIT4
+#undef HAVE_WAITPID
+#undef HAVE_SYSTEM
+#undef HAVE_FEXECVE
+#undef HAVE_RTPSPAWN
+#undef HAVE_POSIX_SPAWN
+#undef HAVE_POSIX_SPAWNP
+#undef HAVE_FDWALK
+#undef HAVE_COPY_FILE_RANGE
/*[clinic input]
# one of the few times we lie about this name!