mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Prior versions of python do not support openssl 1.1; updating to
Python 3.6 on the other hand is a lot more involved, and so should
be done by a specialist/maintainer.
LICENSE checksum change due to copyright years.
Drop upstreamed python3-fix-CVE-2016-1000110.patch
Rebase upstream-random-fixes.patch (taken from
ff558f5aba
)
Rebase 0001-Do-not-use-the-shell-version-of-python-config-that-w.patch
Rebase 000-cross-compile.patch
(From OE-Core rev: b7b982a29e5d14c558b5fc25b4dc727810510ade)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
From 04df959365e2b54d7503edf0e5534ff094284f2d Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Fri, 23 Oct 2015 12:25:09 +0300
|
|
Subject: [PATCH] Do not use the shell version of python-config that was
|
|
introduced in 3.4
|
|
|
|
Revert instead to the original python version: it has our tweaks and
|
|
outputs directories correctly.
|
|
|
|
Upstream-Status: Inappropriate [oe-specific]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
---
|
|
Makefile.pre.in | 9 +++------
|
|
1 file changed, 3 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
index 236f005..5c4337f 100644
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -1348,12 +1348,9 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
|
|
sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py
|
|
# Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR}
|
|
LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
|
|
- # On Darwin, always use the python version of the script, the shell
|
|
- # version doesn't use the compiler customizations that are provided
|
|
- # in python (_osx_support.py).
|
|
- if test `uname -s` = Darwin; then \
|
|
- cp python-config.py python-config; \
|
|
- fi
|
|
+ # In OpenEmbedded, always use the python version of the script, the shell
|
|
+ # version is broken in multiple ways, and doesn't return correct directories
|
|
+ cp python-config.py python-config
|
|
|
|
|
|
# Install the include files
|
|
--
|
|
2.11.0
|
|
|