summarylogtreecommitdiffstats
path: root/020-python-3-11.patch
diff options
context:
space:
mode:
authorlilac2023-05-05 04:34:15 +0800
committerlilac2023-05-05 04:34:15 +0800
commitd53c7b1553bd2e16ed94b5a99dfbad21746749e0 (patch)
treefe594af759d75a86a7d767263e734e44a7dadb35 /020-python-3-11.patch
parent8a2cc73b3491bf5aa9732af1d2748d2c1bee49e4 (diff)
downloadaur-d53c7b1553bd2e16ed94b5a99dfbad21746749e0.tar.gz
[lilac] updated to 98942-4
Diffstat (limited to '020-python-3-11.patch')
-rw-r--r--020-python-3-11.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/020-python-3-11.patch b/020-python-3-11.patch
new file mode 100644
index 000000000000..f040f1354d8a
--- /dev/null
+++ b/020-python-3-11.patch
@@ -0,0 +1,26 @@
+diff --git a/configure b/configure
+index 0872ec4c..037680e0 100755
+--- a/configure
++++ b/configure
+@@ -2132,7 +2132,7 @@ extern "C" int main(void)
+ }
+ EOF
+ found=
+- SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.8m python3.9 python3.9m python3.10 python3.10m"
++ SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.8m python3.9 python3.9m python3.10 python3.10m python3.11 python3.11m"
+ for p in $PYTHONDIR; do
+ for d in $SUPPYTHONLIBS; do
+ for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do
+diff --git a/src/VBox/Installer/linux/routines.sh b/src/VBox/Installer/linux/routines.sh
+index 08e06358..44eba726 100644
+--- a/src/VBox/Installer/linux/routines.sh
++++ b/src/VBox/Installer/linux/routines.sh
+@@ -446,7 +446,7 @@ maybe_run_python_bindings_installer() {
+ # the VirtualBox API bindings. Needs to prevent double installs which waste
+ # quite a bit of time.
+ PYTHONS=""
+- for p in python2.6 python2.7 python2 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 python3.9 python3.10 python3 python; do
++ for p in python2.6 python2.7 python2 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 python3.9 python3.10 python3.11 python3 python; do
+ if [ "`$p -c 'import sys
+ if sys.version_info >= (2, 6) and (sys.version_info < (3, 0) or sys.version_info >= (3, 3)):
+ print(\"test\")' 2> /dev/null`" != "test" ]; then