summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.2.bb
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-04-05 23:54:22 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-26 10:05:16 +0100
commit1174fa7f0c0b1414ac7dbc9d8c43de00c1acbae6 (patch)
tree1c87dceed894306be944213a6386b0a2baaf0e33 /meta/recipes-devtools/python/python_2.7.2.bb
parentfcb368f76716bd510e9492244a12b5c4a129aad5 (diff)
downloadpoky-1174fa7f0c0b1414ac7dbc9d8c43de00c1acbae6.tar.gz
python: Add patch to search for db.h in inc_dirs and remove warning
python should search for db.h in inc_dirs and not in a hardcoded path. If db.h is found but HASHVERSION is not 2 we avoid a warning by not. adding this module to missing variable. [YOCTO #1937] (From OE-Core rev: 79d0332f21769338a9f904308d8a808486e10fea) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.2.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index bfe3ee02f8..d25b882d95 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -1,6 +1,6 @@
1require python.inc 1require python.inc
2DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib" 2DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib"
3PR = "${INC_PR}.16" 3PR = "${INC_PR}.17"
4 4
5DISTRO_SRC_URI ?= "file://sitecustomize.py" 5DISTRO_SRC_URI ?= "file://sitecustomize.py"
6DISTRO_SRC_URI_linuxstdbase = "" 6DISTRO_SRC_URI_linuxstdbase = ""
@@ -23,6 +23,7 @@ SRC_URI += "\
23 file://fix_for_using_different_libdir.patch \ 23 file://fix_for_using_different_libdir.patch \
24 file://setuptweaks.patch \ 24 file://setuptweaks.patch \
25 file://check-if-target-is-64b-not-host.patch \ 25 file://check-if-target-is-64b-not-host.patch \
26 file://search_db_h_in_inc_dirs_and_avoid_warning.patch \
26" 27"
27 28
28S = "${WORKDIR}/Python-${PV}" 29S = "${WORKDIR}/Python-${PV}"