python&python2: Do not disable ipv6 support
[termux-packages] / packages / python / posixmodule.c.patch
CommitLineData
59f0d218
FF
1diff -u -r ../Python-3.4.1/Modules/posixmodule.c ./Modules/posixmodule.c
2--- ../Python-3.4.1/Modules/posixmodule.c 2014-05-19 07:19:39.000000000 +0200
3+++ ./Modules/posixmodule.c 2014-06-25 21:42:11.191524129 +0200
4@@ -6048,7 +6048,7 @@
5 if (_Py_set_inheritable(master_fd, 0, NULL) < 0)
6 goto posix_error;
7
8-#if !defined(__CYGWIN__) && !defined(HAVE_DEV_PTC)
9+#if !defined(__CYGWIN__) && !defined(HAVE_DEV_PTC) && !defined(__ANDROID__)
10 ioctl(slave_fd, I_PUSH, "ptem"); /* push ptem */
11 ioctl(slave_fd, I_PUSH, "ldterm"); /* push ldterm */
12 #ifndef __hpux