summaryrefslogtreecommitdiffhomepage
path: root/patches/python3_host-3.7.10_pre.local.patch
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-20 20:19:54 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-20 20:19:54 +0100
commitc30d649b698399a6db8894dea08c7b1e14456a1e (patch)
tree7e86b1ea55b5ff8b9ba7d0d647c5d1bd53f938e7 /patches/python3_host-3.7.10_pre.local.patch
parent80900b74bf135e0c83d8cfaad751f9caa1c41657 (diff)
downloadmidipix_build-c30d649b698399a6db8894dea08c7b1e14456a1e.tar.bz2
midipix_build-c30d649b698399a6db8894dea08c7b1e14456a1e.tar.xz
patches/python2{,_host}-2.7.18_pre.local.patch: ccache support.
patches/python3{,_host}-3.7.10_pre.local.patch: ccache support.
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..b2bd28d6
--- /dev/null
+++ b/patches/python3_host-3.7.10_pre.local.patch
@@ -0,0 +1,11 @@
+--- sbpython3/project/config/cfgdefs.sh.orig 2023-03-20 20:14:07.834307552 +0100
++++ 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)