diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-10-10 13:18:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-15 14:16:10 +0100 |
commit | 0aee3558f93956630613994e89a8a42a560d7766 (patch) | |
tree | ccc509a50b130b99aa68d58991d4a9911c14b00c /meta/recipes-devtools/python/python3/0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch | |
parent | a4b2958adab161c07f4144e6e046ef9a02f2f30e (diff) | |
download | poky-0aee3558f93956630613994e89a8a42a560d7766.tar.gz |
python3: make gdbm optional
The use case is building a gpl3-free image, without having
to rely on outdated recipes from meta-gplv2 layer.
(From OE-Core rev: 02eb487c8145e0f3d957c39cf16f6f805e95e536)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch b/meta/recipes-devtools/python/python3/0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch index a0ed7cc830..a146c747f8 100644 --- a/meta/recipes-devtools/python/python3/0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch +++ b/meta/recipes-devtools/python/python3/0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ffe7797637f08cd6ee4c82e2d67462c5e194d30a Mon Sep 17 00:00:00 2001 | 1 | From 5ce3ac59531828ff682646fbba59b2126b28a8aa Mon Sep 17 00:00:00 2001 |
2 | From: Jaewon Lee <jaewon.lee@xilinx.com> | 2 | From: Jaewon Lee <jaewon.lee@xilinx.com> |
3 | Date: Thu, 25 Apr 2019 15:34:26 -0700 | 3 | Date: Thu, 25 Apr 2019 15:34:26 -0700 |
4 | Subject: [PATCH] main.c: if OEPYTHON3HOME is set use instead of PYTHONHOME | 4 | Subject: [PATCH] main.c: if OEPYTHON3HOME is set use instead of PYTHONHOME |
@@ -12,15 +12,16 @@ to set a different path for python3 | |||
12 | Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> | 12 | Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> |
13 | 13 | ||
14 | Upstream-Status: Inappropriate [OE specific configuration] | 14 | Upstream-Status: Inappropriate [OE specific configuration] |
15 | |||
15 | --- | 16 | --- |
16 | Modules/main.c | 17 +++++++++++++---- | 17 | Modules/main.c | 17 +++++++++++++---- |
17 | 1 file changed, 13 insertions(+), 4 deletions(-) | 18 | 1 file changed, 13 insertions(+), 4 deletions(-) |
18 | 19 | ||
19 | diff --git a/Modules/main.c b/Modules/main.c | 20 | diff --git a/Modules/main.c b/Modules/main.c |
20 | index a745381..b553e30 100644 | 21 | index acc59c6..407085a 100644 |
21 | --- a/Modules/main.c | 22 | --- a/Modules/main.c |
22 | +++ b/Modules/main.c | 23 | +++ b/Modules/main.c |
23 | @@ -1855,10 +1855,19 @@ config_init_home(_PyCoreConfig *config) | 24 | @@ -1834,10 +1834,19 @@ config_init_home(_PyCoreConfig *config) |
24 | } | 25 | } |
25 | return _Py_INIT_OK(); | 26 | return _Py_INIT_OK(); |
26 | } | 27 | } |
@@ -44,6 +45,3 @@ index a745381..b553e30 100644 | |||
44 | } | 45 | } |
45 | config->home = home; | 46 | config->home = home; |
46 | return _Py_INIT_OK(); | 47 | return _Py_INIT_OK(); |
47 | -- | ||
48 | 2.7.4 | ||
49 | |||