parent
a3ef97c093
commit
58fd730b81
12
packages/python2/Lib-subprocess.py.patch
Normal file
12
packages/python2/Lib-subprocess.py.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u -r ../Python-2.7.10/Lib/subprocess.py ./Lib/subprocess.py
|
||||||
|
--- ../Python-2.7.10/Lib/subprocess.py 2015-05-23 12:09:07.000000000 -0400
|
||||||
|
+++ ./Lib/subprocess.py 2015-09-26 18:01:13.672071916 -0400
|
||||||
|
@@ -1206,7 +1206,7 @@
|
||||||
|
args = list(args)
|
||||||
|
|
||||||
|
if shell:
|
||||||
|
- args = ["/bin/sh", "-c"] + args
|
||||||
|
+ args = ["@TERMUX_PREFIX@/bin/sh", "-c"] + args
|
||||||
|
if executable:
|
||||||
|
args[0] = executable
|
||||||
|
|
@ -7,6 +7,7 @@ TERMUX_PKG_HOSTBUILD=true
|
|||||||
|
|
||||||
_MAJOR_VERSION=2.7
|
_MAJOR_VERSION=2.7
|
||||||
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.10
|
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.10
|
||||||
|
TERMUX_PKG_BUILD_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=http://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz
|
TERMUX_PKG_SRCURL=http://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz
|
||||||
|
|
||||||
# The flag --with(out)-pymalloc (disable/enable specialized mallocs) is enabled by default and causes m suffix versions of python.
|
# The flag --with(out)-pymalloc (disable/enable specialized mallocs) is enabled by default and causes m suffix versions of python.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user