python: update configure.patch

This commit is contained in:
termux-pacman-bot
2023-08-30 00:03:30 +00:00
parent 832d7ffb84
commit 75c68ea3d3
2 changed files with 10 additions and 11 deletions

View File

@@ -5,10 +5,9 @@ TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_LICENSE_FILE="LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
_MAJOR_VERSION=3.11
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.4
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.5
TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=2f0e409df2ab57aa9fc4cbddfb976af44e4e55bf6f619eee6bc5c2297264a7f6
TERMUX_PKG_SHA256=85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f
TERMUX_PKG_DEPENDS="gdbm, libandroid-posix-semaphore, libandroid-support, libbz2, libcrypt, libexpat, libffi, liblzma, libsqlite, ncurses, ncurses-ui-libs, openssl, readline, zlib"
TERMUX_PKG_RECOMMENDS="python-ensurepip-wheels, python-pip"
TERMUX_PKG_SUGGESTS="python-tkinter"

View File

@@ -1,6 +1,6 @@
--- Python-3.11.0/configure 2022-10-24 23:05:39.000000000 +0530
+++ Python-3.11.0.mod/configure 2022-10-25 10:25:57.074049746 +0530
@@ -6189,6 +6189,8 @@
--- Python-3.11.5/configure 2023-08-30 00:48:09.783767381 +0100
+++ Python-3.11.5.mod/configure 2023-08-30 00:52:09.383767498 +0100
@@ -6202,6 +6202,8 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
$as_echo_n "checking for multiarch... " >&6; }
case $ac_sys_system in #(
@@ -9,7 +9,7 @@
Darwin*) :
MULTIARCH="" ;; #(
FreeBSD*) :
@@ -10796,7 +10798,7 @@
@@ -11027,7 +11029,7 @@
then CCSHARED="-fPIC";
else CCSHARED="+z";
fi;;
@@ -18,11 +18,11 @@
Linux*|GNU*) CCSHARED="-fPIC";;
Emscripten*|WASI*)
if test "x$enable_wasm_dynamic_linking" = xyes; then :
@@ -15099,7 +15101,6 @@
if test "x$ac_cv_func_link" = xyes
then :
@@ -15331,7 +15333,6 @@
$as_echo "$ac_cv_func_link" >&6; }
if test "x$ac_cv_func_link" = xyes; then :
-printf "%s\n" "#define HAVE_LINK 1" >>confdefs.h
-$as_echo "#define HAVE_LINK 1" >>confdefs.h
fi