mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 10:23:24 +00:00
Compile python as if link(2) is not available
From Android 6.0 on hard links are not permitted, so remove link to force e.g. _vendor/lockfile/linklockfile.py to use other mechanisms. Fixes #29.
This commit is contained in:
@@ -8,7 +8,7 @@ TERMUX_PKG_HOSTBUILD=true
|
||||
|
||||
_MAJOR_VERSION=2.7
|
||||
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.10
|
||||
TERMUX_PKG_BUILD_REVISION=2
|
||||
TERMUX_PKG_BUILD_REVISION=3
|
||||
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.
|
||||
|
||||
12
packages/python2/configure.patch
Normal file
12
packages/python2/configure.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -u -r ../Python-2.7.10/configure ./configure
|
||||
--- ../Python-2.7.10/configure 2015-05-23 12:09:25.000000000 -0400
|
||||
+++ ./configure 2015-10-20 09:54:55.481316335 -0400
|
||||
@@ -10310,7 +10310,7 @@
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
|
||||
-$as_echo "#define HAVE_LINK 1" >>confdefs.h
|
||||
+# $as_echo "#define HAVE_LINK 1" >>confdefs.h
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
Reference in New Issue
Block a user