summaryrefslogtreecommitdiffhomepage
path: root/patches/python3_host-3.7.10_pre.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/python3_host-3.7.10_pre.local.patch')
-rw-r--r--patches/python3_host-3.7.10_pre.local.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/python3_host-3.7.10_pre.local.patch b/patches/python3_host-3.7.10_pre.local.patch
new file mode 100644
index 00000000..c93558c4
--- /dev/null
+++ b/patches/python3_host-3.7.10_pre.local.patch
@@ -0,0 +1,11 @@
+--- build/sbpython3/project/config/cfgdefs.sh.orig 2023-03-20 20:14:07.834307552 +0100
++++ build/sbpython3/project/config/cfgdefs.sh 2023-03-20 20:13:42.911489879 +0100
+@@ -70,7 +70,7 @@
+ exit 2
+ fi
+
+- "$mb_native_cc" -E -dM "$mb_source_dir/Include/patchlevel.h" \
++ $mb_native_cc -E -dM "$mb_source_dir/Include/patchlevel.h" \
+ > "$mb_internal_verinfo"
+
+ python_major=$(grep '#define PY_MAJOR_VERSION ' "$mb_internal_verinfo" | cut -d' ' -f3)